September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
3
Task/Catamorphism/Zkl/catamorphism.zkl
Normal file
3
Task/Catamorphism/Zkl/catamorphism.zkl
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
T("foo","bar").reduce(fcn(p,n){p+n}) //--> "foobar"
|
||||
"123four5".reduce(fcn(p,c){p+(c.matches("[0-9]") and c or 0)}, 0) //-->11
|
||||
File("foo.zkl").reduce('+(1).fpM("0-"),0) //->5 (lines in file)
|
||||
Loading…
Add table
Add a link
Reference in a new issue