aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-06-29 10:15:59 +0200
committerLudovic Courtès <ludo@gnu.org>2015-06-29 14:42:10 +0200
commit7ce216110cbb4015bfc4ae186f4a34d38481ce1b (patch)
tree2902b25b8c248f49aea7fd9fa71785dae8f48e8b /doc
parentcc6ed477372f8cb3aeb579fa6a5858179548f9ba (diff)
downloadguix-7ce216110cbb4015bfc4ae186f4a34d38481ce1b.tar
guix-7ce216110cbb4015bfc4ae186f4a34d38481ce1b.tar.gz
doc: Add quote about running a monadic value.
* doc/guix.texi (The Store Monad): Add funny quote about "running" a monadic value.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index b3a77b4311..6164e086a3 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}:
+@c See
+@c <https://syntaxexclamation.wordpress.com/2014/06/26/escaping-continuations/>
+@c 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
+@code{run-with-store}:
@example
(run-with-store (open-connection) (sh-symlink))