Ludovic Courtès dcb95c1fc9
monads: Add a template and specialization mechanism for monadic procedures.
* guix/monads.scm (%templates, %template-instances): New variables.
(register-template!, register-template-instance!): New procedures.
(template-directory, define-template): New macro.
(foldm, sequence, anym): Define using 'define-template'.  Avoid replace
ellipses with dots.
(mapm): Likewise, but do not use 'foldm'.
* guix/store.scm: Add 'template-directory' invocation.
2017-05-02 23:41:13 +02:00
..
2017-01-28 18:55:20 +01:00
2017-03-18 00:38:41 +01:00
2017-04-17 23:05:46 +02:00
2015-01-26 21:58:12 +01:00
2016-12-14 21:58:32 +01:00
2017-05-02 04:19:09 -04:00
2017-04-17 23:31:28 +02:00
2015-01-11 23:50:01 +01:00
2017-04-18 23:17:17 +02:00