diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-06-08 22:49:50 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-06-08 23:00:49 +0200 |
commit | 751630c9c3f7f3e87dfccc5f5ba8cf61cdd6f8fd (patch) | |
tree | 2da2fcf7e6e300c98f2777e0bcb5670252ff4803 /gnu/packages | |
parent | ae9b96c7846cc7d4528da5c6d861d6440cf46e33 (diff) | |
download | guix-751630c9c3f7f3e87dfccc5f5ba8cf61cdd6f8fd.tar.gz guix-751630c9c3f7f3e87dfccc5f5ba8cf61cdd6f8fd.zip |
monads: Allow n-ary '>>=' expressions.
Suggested by Federico Beffa <beffa@fbengineering.ch>.
* guix/monads.scm (bind-syntax): New macro.
(with-monad): Use it instead of 'identifier-syntax'.
* tests/monads.scm (">>= with more than two arguments"): New test.
* doc/guix.texi (The Store Monad): Explain that there can be several MPROC.
Add an example.
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions