
The "share" directory holds platform-independent files, while "lib" holds platform-specific files. In principle, the "collects" directory belongs in "share", as does "doc". Those directories are put into "share" by a Unix-style install, but left at top level for an in-place install. Packages in installation scope are put in "share" instead of "lib", and the top-level Makefile puts development links in "share/devel-pkgs". The `configure' script now supports `--docdir' and `--collectsdir'. Changed the version to 5.90.0.1.
18 lines
538 B
Racket
18 lines
538 B
Racket
#lang racket/base
|
|
(require racket/contract/base
|
|
"base.rkt"
|
|
"private/sqlite3/main.rkt")
|
|
|
|
;; FIXME: Contracts duplicated at main.rkt
|
|
(provide/contract
|
|
[sqlite3-connect
|
|
(->* (#:database (or/c path-string? 'memory 'temporary))
|
|
(#:mode (or/c 'read-only 'read/write 'create)
|
|
#:busy-retry-limit (or/c exact-nonnegative-integer? +inf.0)
|
|
#:busy-retry-delay (and/c rational? (not/c negative?))
|
|
#:use-place any/c
|
|
#:debug? any/c)
|
|
connection?)]
|
|
[sqlite3-available?
|
|
(-> boolean?)])
|