[Haskell-beginners] Expected vs. Inferred Type

Christopher Howard christopher.howard at frigidcode.com
Mon Jun 6 03:44:27 CEST 2011


Could someone explain the difference between an expected type and an
inferred type as mentioned in a compiler error message? I've never heard
definitions proper, and so I tend to get confused when the compiler says
there is a difference between the type it expected and the type it inferred.

-- 
frigidcode.com
theologia.indicium.us



More information about the Beginners mailing list