Commit graph

14 commits

Author SHA1 Message Date
Emile Clark-Boman
fd008cd2e1 mkdir nib/std && replace --all 'with' 'let ... in' 2025-12-14 20:47:34 +10:00
Emile Clark-Boman
eac4161b36 restructure std -> nib.types + change type naming convention 2025-12-14 12:41:52 +10:00
Emile Clark-Boman
b9f2acf7e7 add Fault monad 2025-12-14 11:59:29 +10:00
Emile Clark-Boman
a547a9bcaf make std.result compatible with builtins.tryEval 2025-12-14 11:33:40 +10:00
Emile Clark-Boman
8f347b9ad3 add std/result.nix:isResult 2025-12-14 10:54:55 +10:00
Emile Clark-Boman
bcabcf8012 fix result.nix never imported 2025-12-14 10:20:16 +10:00
Emile Clark-Boman
29ee948574 fix: import requires closures not finite argument lambdas 2025-12-14 10:13:04 +10:00
Emile Clark-Boman
a210d5d037 add mergeAttrsList + fix bad listToAttrs usage 2025-12-14 09:26:58 +10:00
Emile Clark-Boman
3d2f657e9d rename attrs.listToAttrsIdentity -> attrs.identityAttrsList
the name was easily confusable with listToAttrs which expects {name =
...; value = ...; } structure
2025-12-14 09:26:37 +10:00
Emile Clark-Boman
831203ecce create submodule design pattern 2025-12-13 22:00:34 +10:00
Emile Clark-Boman
c282633fb5 define a monadic result attribute set 2025-12-13 22:00:15 +10:00
Emile Clark-Boman
e5c8a66bab list indexing functions 2025-12-13 22:00:00 +10:00
Emile Clark-Boman
927c8b318f define recursive mapping on attribute sets 2025-12-13 21:59:28 +10:00
Emile Clark-Boman
9f5827c21c implement std functions from nixpkgs.lib 2025-12-13 13:16:01 +10:00