In Haskell, the `.`

operator represents represents function composition. That is to say, `(f.g) x = f(g(x))`

Using the type variables `a`

, `b`

and `c`

, what would be the type of the function composition operator itself?

`(a -> b) -> (c -> a) -> c -> b`

`a -> b -> c -> a -> c -> b`

`(a -> b) -> (c -> a) -> b -> c`

`(a -> b) -> (c -> a) -> a -> c`

`(a -> b) -> (b -> c) -> a -> c`

×

Problem Loading...

Note Loading...

Set Loading...