guix-play/guix
Ludovic Courtès 81a97734e0 monads: Add the state monad.
* guix/monads.scm (state-return, state-bind, run-with-state,
  current-state, set-current-state, state-push, state-pop): New
  procedures.
  (%state-monad): New variable.
* tests/monads.scm (%monads): Add %STATE-MONAD.
  (%monad-run): Add 'run-with-state'.
  (values->list): New macro.
  ("set-current-state", "state-push etc."): New tests.
2015-01-17 23:45:48 +01:00
..
build Merge branch 'master' into core-updates 2015-01-13 12:14:08 -05:00
build-system guix: build/glib-or-gtk-build-system: Add support for GIO and XDG theming. 2015-01-12 18:00:08 +01:00
import import: Add CPAN importer. 2015-01-09 10:38:26 -06:00
scripts guix archive: Add -r/--recursive. 2015-01-17 17:05:54 +01:00
base32.scm Update license headers. 2013-01-06 00:47:50 +01:00
base64.scm base64: Inline arithmetic operations. 2015-01-09 01:01:04 +01:00
build-system.scm build-system: Bags record their system and target. 2014-10-05 21:58:42 +02:00
config.scm.in build: Change state and log directories to $localstatedir/.../guix. 2014-03-09 22:10:01 +01:00
derivations.scm monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00
download.scm packages: Convert source derivations to monadic style. 2015-01-14 14:42:10 +01:00
elf.scm Add (guix elf). 2014-11-28 00:10:28 +01:00
ftp-client.scm ftp-client: Add missing CR in "USER" command. 2014-05-03 00:46:51 +02:00
gexp.scm monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00
git-download.scm packages: Convert source derivations to monadic style. 2015-01-14 14:42:10 +01:00
gnu-maintenance.scm gnu-maintenance: Support .zip files. 2014-11-29 22:34:59 +01:00
gnupg.scm gnupg: Correctly parse current 'SIG_ID' lines. 2014-09-24 19:08:03 +02:00
hash.scm import: Factorize utility functions. 2015-01-09 10:33:24 -06:00
http-client.scm download: Enlarge your receive buffer. 2014-05-23 22:19:37 +02:00
licenses.scm gnu: licenses: Add NCSA license. 2014-12-09 12:02:08 -06:00
monad-repl.scm monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00
monads.scm monads: Add the state monad. 2015-01-17 23:45:48 +01:00
nar.scm Break module cycle involving (guix store) and (guix ui). 2014-10-09 23:51:19 +02:00
packages.scm Merge branch 'core-updates' 2015-01-16 13:27:03 +01:00
pk-crypto.scm pk-crypto: Improve docstring of signature-related procedures. 2015-01-04 22:46:51 +01:00
pki.scm pki: Introduce 'write-acl', and fix wrong conversion in 'ensure-acl'. 2014-04-04 00:23:17 +02:00
profiles.scm monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00
records.scm records: Optimize 'recutils->alist' by avoiding regexps. 2015-01-09 01:08:10 +01:00
serialization.scm Break module cycle involving (guix store) and (guix ui). 2014-10-09 23:51:19 +02:00
sets.scm Add (guix sets). 2015-01-11 23:50:01 +01:00
store.scm store: Remove unused variable. 2015-01-17 16:03:35 +01:00
svn-download.scm packages: Convert source derivations to monadic style. 2015-01-14 14:42:10 +01:00
tests.scm tests: import: Factorize utility function. 2015-01-09 10:38:25 -06:00
ui.scm derivations: Add 'substitution-oracle' and use it. 2015-01-10 00:39:59 +01:00
utils.scm gnu: Add toolchain support for 'armhf-linux'. 2015-01-07 16:27:55 -05:00