mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-28 20:12:11 +02:00
doc: cookbook: Fix 'let' form in example.
* doc/guix-cookbook.texi (Extended example): Fix 'let' form in example.
This commit is contained in:
@@ -1084,11 +1084,11 @@ this:
|
|||||||
|
|
||||||
@lisp
|
@lisp
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let (((bash-directory (assoc-ref inputs "bash"))
|
(let ((bash-directory (assoc-ref inputs "bash"))
|
||||||
(output-directory (assoc-ref outputs "out"))
|
(output-directory (assoc-ref outputs "out"))
|
||||||
(doc-directory (assoc-ref outputs "doc"))
|
(doc-directory (assoc-ref outputs "doc")))
|
||||||
; ...
|
;; ...
|
||||||
#t)
|
#t))
|
||||||
@end lisp
|
@end lisp
|
||||||
|
|
||||||
The procedure must return @code{#true} on success. It's brittle to rely on the return
|
The procedure must return @code{#true} on success. It's brittle to rely on the return
|
||||||
|
|||||||
Reference in New Issue
Block a user