20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
(declare (unit configfmod))
;; (declare (uses commonmod))
(module configfmod
*
(import scheme chicken data-structures extras)
(import (prefix sqlite3 sqlite3:) posix typed-records srfi-18
srfi-69 format ports srfi-1 matchable regex)
;; (import commonmod)
;; (use (prefix ulex ulex:))
(include "common_records.scm")
(define (configf:lookup cfgdat section var)
(if (hash-table? cfgdat)
|
|
|
|
|
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
(declare (unit configfmod))
;; (declare (uses commonmod))
(module configfmod
*
(import scheme (chicken base))
(import (prefix sqlite3 sqlite3:) typed-records srfi-18
srfi-69 format (chicken port) srfi-1 matchable regex)
;; (import commonmod)
;; (use (prefix ulex ulex:))
(include "common_records.scm")
(define (configf:lookup cfgdat section var)
(if (hash-table? cfgdat)
|