This commit is contained in:
Shea Levy 2012-12-20 00:52:51 -05:00
parent 95679e1344
commit 2eb0c6fba5

View File

@ -180,7 +180,7 @@ rec {
name = "function that evaluates to a(n) ${elemType.name}"; name = "function that evaluates to a(n) ${elemType.name}";
check = lib.traceValIfNot builtins.isFunction; check = lib.traceValIfNot builtins.isFunction;
merge = fns: merge = fns:
args: elemType.merge (map (fn: fn args) fns) args: elemType.merge (map (fn: fn args) fns);
# These are guesses, I don't fully understand iter, fold, delayOnGlobalEval # These are guesses, I don't fully understand iter, fold, delayOnGlobalEval
iter = f: path: v: iter = f: path: v:
args: elemType.iter f path (v args); args: elemType.iter f path (v args);