I am doing Nicta course exercises and there I ran into an example that I don't understand. I have two functions and their types are as follows:
filtering :: Applicative f => (a -> f Bool) -> List a -> f (List a)
(>) :: Ord a => a -> a -> Bool
Then I apply filtering to (>) and check the type is GHCi. the resulting type is :
filtering (>) :: Ord a => List a -> a -> List a
I don't understand how this result came about.