Is it necessary to convert all inputs to lambdas in Haskell?
I implemented map function only converting f to \f.
And it occurs error during runtime(attached below).
map_ xs = \f -> case xs of
[] -> []
y:ys -> (f y):(map f ys)
map_ square [3, 4]
ERROR - Type error in application
*** Expression : map_ square [3,4]
*** Term : [3,4]
*** Type : [c]
*** Does not match : a -> b