guix-commits
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]