26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
(import scheme chicken data-structures extras)
(import (prefix sqlite3 sqlite3:) posix typed-records srfi-18 srfi-69
format ports srfi-1 matchable regex directory-utils)
;; (import commonmod)
;; (use (prefix ulex ulex:))
(include "common_records.scm")
;;
;;
;; ;; accept an alist or hash table containing envvar/env value pairs (value of #f causes unset)
;; ;; execute thunk in context of environment modified as per this list
;; ;; restore env to prior state then return value of eval'd thunk.
;; ;; ** this is not thread safe **
|
|
|
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
(import scheme chicken data-structures extras)
(import (prefix sqlite3 sqlite3:) posix typed-records srfi-18 srfi-69
format ports srfi-1 matchable regex directory-utils)
;; (import commonmod)
;; (use (prefix ulex ulex:))
;; (include "common_records.scm")
;;
;;
;; ;; accept an alist or hash table containing envvar/env value pairs (value of #f causes unset)
;; ;; execute thunk in context of environment modified as per this list
;; ;; restore env to prior state then return value of eval'd thunk.
;; ;; ** this is not thread safe **
|