guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/07: doc: Add quote about running a monadic value.


From: Ludovic Courtès
Subject: 01/07: doc: Add quote about running a monadic value.
Date: Mon, 29 Jun 2015 12:42:28 +0000

civodul pushed a commit to branch master
in repository guix.

commit 7ce216110cbb4015bfc4ae186f4a34d38481ce1b
Author: Ludovic Courtès <address@hidden>
Date:   Mon Jun 29 10:15:59 2015 +0200

    doc: Add quote about running a monadic value.
    
    * doc/guix.texi (The Store Monad): Add funny quote about "running" a monadic
      value.
---
 doc/guix.texi |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index b3a77b4..6164e08 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -2762,8 +2762,13 @@ omitted since it will take place implicitly, as we will 
see later
                                #$output)))
 @end example
 
-Calling the monadic @code{sh-symlink} has no effect.  To get the desired
-effect, one must use @code{run-with-store}:
address@hidden See
address@hidden 
<https://syntaxexclamation.wordpress.com/2014/06/26/escaping-continuations/> 
address@hidden for the funny quote.
+Calling the monadic @code{sh-symlink} has no effect.  As someone once
+said, ``you exit a monad like you exit a building on fire: by running''.
+So, to exit the monad and get the desired effect, one must use
address@hidden:
 
 @example
 (run-with-store (open-connection) (sh-symlink))



reply via email to

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