mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
monads: Add 'mwhen' and 'munless'.
* guix/monads.scm (mbegin): Add special '%current-monad' syntactic keyword. (mwhen, munless): New macros.
This commit is contained in:
parent
cc7fa5929c
commit
21caa6deeb
2 changed files with 31 additions and 1 deletions
|
@ -46,6 +46,8 @@
|
|||
(eval . (put 'syntax-parameterize 'scheme-indent-function 1))
|
||||
(eval . (put 'with-monad 'scheme-indent-function 1))
|
||||
(eval . (put 'mbegin 'scheme-indent-function 1))
|
||||
(eval . (put 'mwhen 'scheme-indent-function 1))
|
||||
(eval . (put 'munless 'scheme-indent-function 1))
|
||||
(eval . (put 'mlet* 'scheme-indent-function 2))
|
||||
(eval . (put 'mlet 'scheme-indent-function 2))
|
||||
(eval . (put 'run-with-store 'scheme-indent-function 1))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue