
23 Apr
2016
23 Apr
'16
9:42 a.m.
On Sat, Apr 23, 2016 at 08:50:32AM +0000, Matt Williams wrote:
Thanks a lot for this.
Just to clarify (and ignoring the flip, which I can solve by rewriting the checkNum function) - is this an example of currying?
Example of partial application! Currying is when you have a function like: f :: (a, b) -> c and transform it to: g :: a -> b -> c Open ghci and play a bit with `curry` and `uncurry` to get the idea!