2 ms·
One way to look at function composition is that it is a function to which you pass two functions and out comes a function: compose :: (b -> c) -> (a -> b) ->
by rapala 12y ago
One way to look at function composition is that it is a function to which you pass two functions and out comes a function:
compose :: (b -> c) -> (a -> b) -> a -> c
compose f g x = f (g x)
I'm not sure about the math curriculum in USA but in linear algebra you have functions that operate on functions.