git.iko.soy/typeable/nixpkgs
on master help sign in
lib.lists: fix fold example
commit1ab408e1dadab986818d23d748fb920e28deba52 authorDomen Kožar <domen@dev.si> dateThu 26 May 2016, 11:52 (11 years ago) parent467cd6f
1 file changed+1−1
lib/lists.nix+1−1
lib/lists.nix+1−1
@@ -24,7 +24,7 @@ rec {
2424 Example:
2525 concat = fold (a: b: a + b) "z"
2626 concat [ "a" "b" "c" ]
27− => "abcnul"
27+ => "abcz"
2828 */
2929 fold = op: nul: list:
3030 let