Remove extraneous case-lambda comments + other misc docs fixes
This commit is contained in:
parent
26444abf95
commit
c0f0024ac9
4 changed files with 22 additions and 21 deletions
|
|
@ -42,8 +42,6 @@
|
|||
|
||||
(define (env-pair<? l r) (string<? (car l) (car r)))
|
||||
|
||||
;; `(zfile CONTENTS [EXECUTABLE])`
|
||||
;;
|
||||
;; Create a `<z-file>` object with given contents and optional `executable` flag.
|
||||
;; The contents may either be a string or a `<zexp>`.
|
||||
(define zfile
|
||||
|
|
@ -54,8 +52,6 @@
|
|||
;; Create a `<z-symlink>` record. The target may be any string, *or* a `<zexp>` containing one.
|
||||
(define (zsymlink target) (make-z-symlink target #f))
|
||||
|
||||
;; `(zdir CONTENTS)`
|
||||
;;
|
||||
;; Create a `<z-directory>` record. The contents is an alist of file name -> zfile/zsymlink/zdir.
|
||||
;; For simplicity, one can also write e.g. `(zdir "key" value "key2" value)`.
|
||||
(define zdir
|
||||
|
|
@ -191,6 +187,7 @@
|
|||
|
||||
;; Serialize a file-like (`zfile`, `zsymlink`, `zdir`) to a `<store-path>`.
|
||||
;; This function should not depend on the system of the builder.
|
||||
;;
|
||||
;; TODO(puck): due to limitations, whatever you pass in ends up at `<store-path>/-` instead.
|
||||
(define (zfile->store val)
|
||||
(define cached
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue