[Haskell-beginners] "Couldn't match expected type" and simple "Couldn't match type"

Ken Kawamoto kentaro.kawamoto at gmail.com
Mon Aug 13 02:01:45 CEST 2012


Hi Haskellers,

I found GHC sometimes complains
"Couldn't match expected type X with actual type Y"
, and simply
"Couldn't match type X with Y"
in other cases.

not a big deal, but was wondering what makes this difference.

-- Ken



More information about the Beginners mailing list