;; Account deletion confirmation
(lambda (uri)
- (import (chicken io))
(let ((query (uri-query uri)))
(if (null? query)
(print "No account specified.")
;; Delete account
(lambda (uri)
- (import (chicken io))
(let ((query (uri-query uri)))
(serve-document-header (ext->mime "gmi"))
(if (null? query)
```
,(eval (begin
- (import (chicken io)
- (chicken file)
- (chicken string)
- (chicken pathname)
- (chicken time posix)
- srfi-1 srfi-13)
(for-each eval (with-input-from-file "garden.scm" read-list))
(define (pad-string o max-len)
(let* ((s (->string o))
-(import (chicken random)
- (chicken time)
- (chicken time posix)
- (chicken pathname)
- (chicken io)
- (chicken string)
- (chicken format)
- (chicken file)
- (chicken condition)
- srfi-1 uri-common simple-sha1)
-
(define rand-double pseudo-random-real)
(define (rand-weighted weights)
(lambda (uri)
- (import (chicken io))
(let ((query (uri-query uri)))
(if (null? query)
(print "No account specified.")
;;
(lambda (uri)
- (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 io))
(for-each eval (with-input-from-file "garden.scm" read-list))
(let ((query (uri-query uri)))
(if (null? query)
;;
(lambda (uri)
- (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 io))
(for-each eval (with-input-from-file "garden.scm" read-list))
(let ((query (uri-query uri)))
(if (null? query)