Sailors, coconuts and a monkey problem: Difference between revisions
Sailors, coconuts and a monkey problem (view source)
Revision as of 20:00, 17 October 2016
, 7 years ago→ES6
m (→ES6: Cached/abstracted a generic succ() function) |
m (→ES6) |
||
Line 531:
},
// succ :: Int -> Int
succ = x => x + 1;
|