by ImNotAKompjoetr · 11y ago · 0 comments
function_name :: param1 -> param2 -> return
is a function that if you only give it param1 it returns a function that takes an argument of param2Type and returns returnType.
This way you can easily compose functionsf :: param1 -> (param2 -> return)
ret = (f p1) p2