[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/06: doc: cookbook: Fix 'let' form in example.
From: |
guix-commits |
Subject: |
01/06: doc: cookbook: Fix 'let' form in example. |
Date: |
Thu, 15 Oct 2020 12:51:32 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 7802988201820dd951407521e243557293dceb94
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Oct 15 15:16:59 2020 +0200
doc: cookbook: Fix 'let' form in example.
* doc/guix-cookbook.texi (Extended example): Fix 'let' form in example.
---
doc/guix-cookbook.texi | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/doc/guix-cookbook.texi b/doc/guix-cookbook.texi
index db3d7e5..c4abeda 100644
--- a/doc/guix-cookbook.texi
+++ b/doc/guix-cookbook.texi
@@ -1084,11 +1084,11 @@ this:
@lisp
(lambda* (#:key inputs outputs #:allow-other-keys)
- (let (((bash-directory (assoc-ref inputs "bash"))
- (output-directory (assoc-ref outputs "out"))
- (doc-directory (assoc-ref outputs "doc"))
- ; ...
- #t)
+ (let ((bash-directory (assoc-ref inputs "bash"))
+ (output-directory (assoc-ref outputs "out"))
+ (doc-directory (assoc-ref outputs "doc")))
+ ;; ...
+ #t))
@end lisp
The procedure must return @code{#true} on success. It's brittle to rely on
the return
- branch master updated (3391779 -> 61263e1), guix-commits, 2020/10/15
- 02/06: doc: cookbook: Use @var for meta-syntactic variables., guix-commits, 2020/10/15
- 04/06: doc: cookbook: Use @code for the identifiers of utility functions., guix-commits, 2020/10/15
- 03/06: doc: cookbook: More "#true" and "#false"., guix-commits, 2020/10/15
- 05/06: ui: Only suggest modules that export the unbound variable identifier., guix-commits, 2020/10/15
- 01/06: doc: cookbook: Fix 'let' form in example.,
guix-commits <=
- 06/06: doc: Add "Build Utilities" section., guix-commits, 2020/10/15