fix: import requires closures not finite argument lambdas

This commit is contained in:
Emile Clark-Boman 2025-12-14 10:13:04 +10:00
parent 44f90fcffe
commit 29ee948574
8 changed files with 8 additions and 4 deletions

View file

@ -1,4 +1,4 @@
{lists}: rec {
{lists, ...}: rec {
nameValuePair = name: value: {inherit name value;};
identityAttrs = value: {${value} = value;};

View file

@ -1,4 +1,4 @@
{}: let
{...}: let
attrs = import ./attrs.nix {inherit lists;};
lists = import ./lists.nix {};
result = import ./lists.nix {inherit lists;};

View file

@ -1,4 +1,4 @@
{}: rec {
{...}: rec {
foldl = op: nul: list: let
foldl' = n:
if n == -1

View file

@ -1,4 +1,4 @@
{lists}: rec {
{lists, ...}: rec {
# Result Monad
Ok = value: {
ok = true;