about summary refs log tree commit diff
path: root/nix/stateMonad/tests/default.nix (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-10-01 r/5009 feat(nix/stateMonad): simple Nix state monad implementationsterni1-0/+110
In the absence of do syntactic sugar relatively tedious to write, but useful to express certain types of algorithms. I found it useful to memoize intermediate results as they are calculated in order to avoid recomputing them later in a drv dependency analyzer I've written. Change-Id: I47cf3c644a96952c70276c9fa4cb3190b1c1e027 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6828 Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>