[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))
- branch master updated (cc6ed47 -> 11906b2), Ludovic Courtès, 2015/06/29
- 01/07: doc: Add quote about running a monadic value.,
Ludovic Courtès <=
- 02/07: gnu: gcc-4.8: Update to 4.8.5., Ludovic Courtès, 2015/06/29
- 05/07: gnu: parallel: Update to 20150622., Ludovic Courtès, 2015/06/29
- 06/07: gnu: help2man: Update to 1.47.1., Ludovic Courtès, 2015/06/29
- 07/07: gnu: global: Update to 6.5., Ludovic Courtès, 2015/06/29
- 04/07: gnu: screen: Update to 4.3.1., Ludovic Courtès, 2015/06/29
- 03/07: gnu: texinfo: Add version 6.0., Ludovic Courtès, 2015/06/29