about summary refs log tree commit diff
path: root/third_party/rust-crates/default.nix
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-09-30T14·21+0200
committerclbot <clbot@tvl.fyi>2022-10-01T17·47+0000
commit5e097aa8e98f6c37e5a815b006f84424d29a20c6 (patch)
tree1a136d666248fa85be5165d77a6e2592a238894e /third_party/rust-crates/default.nix
parent1e25ba1b09a260d554a7391f8b3ee699b2b49ab8 (diff)
feat(nix/stateMonad): simple Nix state monad implementation r/5009
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>
Diffstat (limited to 'third_party/rust-crates/default.nix')
0 files changed, 0 insertions, 0 deletions