Unifying Types in Haskell
问题 I'm kind of stuck with an assignement concerning my exams. I want to find out the types of those two functions by applying the unifying algorithm by hand: map map (\x -> x >>= (\y -> y)) Could someone point me to the right direction? The only ressource I could find until now was the wikipedia entry which is not really aiding me because of the high level of abstraction. Greetings and thank you. 回答1: Let's just do the first. map :: (a -> b) -> [a] -> [b] Now we can write it again with two