lib.lists: fix fold example

This commit is contained in:
Domen Kožar 2016-05-26 11:52:35 +01:00
parent 467cd6f3a4
commit 1ab408e1da

View file

@ -24,7 +24,7 @@ rec {
Example:
concat = fold (a: b: a + b) "z"
concat [ "a" "b" "c" ]
=> "abcnul"
=> "abcz"
*/
fold = op: nul: list:
let