blob: 72a120d0d0f286dd4870c81d2b71cdc80e5c982b (
plain) (
tree)
|
|
let {
fold = op: nul: list:
if list == []
then nul
else op (builtins.head list) (fold op nul (builtins.tail list));
concat =
fold (x: y: x + y) "";
body = concat ["foo" "bar" "bla" "test"];
}
|