summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorArun Isaac2025-01-09 23:43:36 +0000
committerArun Isaac2025-01-19 16:44:26 +0000
commitc02207dbfebe55e29469e998b8178085f593bb63 (patch)
treeb62956ed20cd45d0e94e7fae94cae1a53317b260 /Makefile
parent454a5266124416aa0a91881612b9513666c18b2f (diff)
downloadravanan-c02207dbfebe55e29469e998b8178085f593bb63.tar.gz
ravanan-c02207dbfebe55e29469e998b8178085f593bb63.tar.lz
ravanan-c02207dbfebe55e29469e998b8178085f593bb63.zip
monads: Implement the state monad.
* ravanan/work/monads.scm (<mstate>): New record type.
(state-bind, current-state, set-current-state, run-with-state): New
public functions.
(state-return, state-let*, state-begin): New public macros.
* ravanan/command-line-tool.scm: Be selective to avoid importing
run-with-state from (guix monads).
* .dir-locals.el (scheme-mode): Indent state-let* correctly.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions