From 7ce216110cbb4015bfc4ae186f4a34d38481ce1b Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 29 Jun 2015 10:15:59 +0200 Subject: 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 file changed, 7 insertions(+), 2 deletions(-) (limited to 'doc/guix.texi') 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 +@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)) -- cgit 1.4.1