;; Account deletion confirmation
(lambda (uri)
- (import (chicken file)
- (chicken pathname)
- (chicken string)
- uri-common)
+ (import (chicken io))
(let ((query (uri-query uri)))
(if (null? query)
(print "No account specified.")
;; Delete account
(lambda (uri)
- (import (chicken file)
- (chicken pathname)
- (chicken string)
- uri-common)
+ (import (chicken io))
(let ((query (uri-query uri)))
(serve-document-header (ext->mime "gmi"))
(if (null? query)
(chicken io)
(chicken string)
(chicken format)
- srfi-1)
+ (chicken file)
+ (chicken condition)
+ srfi-1 uri-common simple-sha1)
(define rand-double pseudo-random-real)
(lambda (uri)
- (import (chicken file)
- (chicken pathname)
- (chicken string)
- uri-common)
+ (import (chicken io))
(let ((query (uri-query uri)))
(if (null? query)
(print "No account specified.")
;;
(lambda (uri)
- (import (chicken file)
- uri-common simple-sha1)
+ (import (chicken io))
(for-each eval (with-input-from-file "garden.scm" read-list))
(let ((query (uri-query uri)))
(if (null? query)
;;
(lambda (uri)
- (import (chicken file)
- (chicken io)
- uri-common simple-sha1)
+ (import (chicken io))
(for-each eval (with-input-from-file "garden.scm" read-list))
(let ((query (uri-query uri)))
(if (null? query)
;;
(lambda (uri)
- (import
- (chicken condition)
- (chicken file)
- uri-common)
+ (import (chicken io))
(for-each eval (with-input-from-file "garden.scm" read-list))
(serve-document-header (ext->mime "gmi"))
(let ((query (uri-query uri)))
;;
(lambda (uri)
- (import
- (chicken condition)
- (chicken file)
- uri-common)
+ (import (chicken io))
(for-each eval (with-input-from-file "garden.scm" read-list))
(let ((query (uri-query uri)))
(if (null? query)