From 87b4a91fc4145e04ca028c08754bd144b8d1d02d Mon Sep 17 00:00:00 2001 From: John Ericson Date: Mon, 29 May 2017 18:09:52 -0400 Subject: lib: Move fixed-point combinators out of trivial Trivia != prelude. This is a better organized and less likely to scare off new contributors. --- lib/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lib/default.nix') diff --git a/lib/default.nix b/lib/default.nix index e692637abf197..3893e349db369 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -5,8 +5,9 @@ */ let - # trivial, often used functions + # often used, or depending on very little trivial = import ./trivial.nix; + fixedPoints = import ./fixed-points.nix; # datatypes attrsets = import ./attrsets.nix; @@ -42,7 +43,7 @@ let filesystem = import ./filesystem.nix; in - { inherit trivial + { inherit trivial fixedPoints attrsets lists strings stringsWithDeps customisation maintainers meta sources modules options types @@ -55,6 +56,7 @@ in } # !!! don't include everything at top-level; perhaps only the most # commonly used functions. - // trivial // lists // strings // stringsWithDeps // attrsets // sources + // trivial // fixedPoints + // lists // strings // stringsWithDeps // attrsets // sources // options // types // meta // debug // misc // modules // customisation -- cgit 1.4.1