utils: Add documentation to procedures
parent
a365ad9734
commit
1526639961
|
@ -15,6 +15,9 @@
|
||||||
`(,@(map (cut cons <> association) keys) ...))
|
`(,@(map (cut cons <> association) keys) ...))
|
||||||
|
|
||||||
(define (flat-map proc . lsts)
|
(define (flat-map proc . lsts)
|
||||||
|
"Returns a list containg every other application of PROC to a list where the
|
||||||
|
first element comes from the first list, the second element from the second
|
||||||
|
list, up to the last list."
|
||||||
(match lsts
|
(match lsts
|
||||||
((head-lst) (map proc head-lst))
|
((head-lst) (map proc head-lst))
|
||||||
((head-lst . tail-lsts)
|
((head-lst . tail-lsts)
|
||||||
|
|
Loading…
Reference in New Issue