summaryrefslogtreecommitdiff
path: root/guix/monads.scm
AgeCommit message (Expand)Author
2014-02-03monads: Add 'text-file*'....* guix/monads.scm (text-file*): New procedure. * tests/monads.scm ("text-file*"): New test. * doc/guix.texi (The Store Monad): Change example since the previous one would erroneously fail to retain a reference to Coreutils. Document 'text-file*'. Ludovic Courtès
2014-01-29monads: Add 'imported-modules' and 'compiled-modules'....* guix/monads.scm (package-file): Fix typo. (imported-modules, compiled-modules): New procedures. Ludovic Courtès
2013-12-10gnu: Add (gnu system)....* gnu/system/vm.scm (lower-inputs): Move to monads.scm. (qemu-image): Don't add GRUB-CONFIGURATION to the INPUTS-TO-COPY. (union, file-union, etc-directory): Move to gnu/system.scm. (%demo-operating-system): New variable. (system-qemu-image): Add 'os' parameter. Rewrite in terms of 'operating-system-derivation'. * guix/monads.scm (lower-inputs): New procedure. * gnu/system/grub.scm (grub-configuration-file): Change 'entries' to be a plain list instead of a list of monadic values. * gnu/system.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. Ludovic Courtès
2013-12-10monads: Fix 'anym'....* guix/monads.scm (anym): Fix successful case. * tests/monads.scm ("anym"): New test. Ludovic Courtès
2013-12-05monads: Remove erroneous comment....* guix/monads.scm (sequence): Remove erroneous comment. Ludovic Courtès
2013-10-03monads: Allow resolution of a monad's bind/return at expansion time....* guix/monads.scm (<monad>): Turn in a raw SRFI-9 record type. (define-monad): New macro. (with-monad): Add a case for when MONAD is a macro. (identity-return, identity-bind, store-return, store-bind): Inline. (%identity-monad, %store-monad): Use 'define-monad'. * tests/monads.scm ("monad?"): New test. Ludovic Courtès
2013-10-03Add (guix monads)....* guix/monads.scm: New file. * tests/monads.scm: New file. * Makefile.am (MODULES): Add guix/monads.scm. (SCM_TESTS): Add tests/monads.scm. * doc/guix.texi (The Store Monad): New node. (The Store): Reference it. Ludovic Courtès