fix: import requires closures not finite argument lambdas
This commit is contained in:
parent
44f90fcffe
commit
29ee948574
8 changed files with 8 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{lists}: rec {
|
||||
{lists, ...}: rec {
|
||||
nameValuePair = name: value: {inherit name value;};
|
||||
|
||||
identityAttrs = value: {${value} = value;};
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{}: let
|
||||
{...}: let
|
||||
attrs = import ./attrs.nix {inherit lists;};
|
||||
lists = import ./lists.nix {};
|
||||
result = import ./lists.nix {inherit lists;};
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{}: rec {
|
||||
{...}: rec {
|
||||
foldl = op: nul: list: let
|
||||
foldl' = n:
|
||||
if n == -1
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{lists}: rec {
|
||||
{lists, ...}: rec {
|
||||
# Result Monad
|
||||
Ok = value: {
|
||||
ok = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue