fun.sh adds some tools seen and used mainly by functional programmers including take, drop, scanl, foldl, map and lambdas. Because sh has no real type system, the convention is to use pipes as you would use lists in Haskell, which allows fun.sh functions to be easily composable via piping.
|
|
Scooped by
Srdjan Strbanovic
onto Functional programming May 30, 2012 10:32 AM
|
No comment yet.
Sign up to comment
Your new post is loading...