9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
;; stml is a list of html strings
;; (declare (unit stml))
(module stml2
*
(import chicken scheme data-structures extras srfi-13 ports posix srfi-69 files srfi-1)
(import cookie)
(use (prefix dbi dbi:) (prefix crypt c:) typed-records)
;; (declare (uses misc-stml))
(use regex)
;; The (usually global) sdat contains everything about the session
;;
(defstruct sdat
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
>
|
|
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
;; stml is a list of html strings
;; (declare (unit stml))
(module stml2
*
(cond-expand
(chicken-4
(import chicken
scheme
data-structures
extras
ports
posix
files))
(chicken-5
(import scheme
chicken.base
chicken.time.posix
chicken.string
chicken.format
chicken.condition
chicken.process-context
chicken.blob
chicken.io
chicken.process-context.posix
chicken.port
chicken.pathname
chicken.file
chicken.process
chicken.time
)))
(import srfi-1 srfi-13 srfi-14 regex
srfi-69 typed-records)
(import cookie)
(import (prefix dbi dbi:) (prefix crypt c:) typed-records)
;; (declare (uses misc-stml))
(use regex)
;; The (usually global) sdat contains everything about the session
;;
(defstruct sdat
|