
On 21 May 2013 11:35, "Henning Thielemann"
On Tue, 21 May 2013, Carter Schonwald wrote:
2) does the change make learning the language more challenging? No. In
fact, i've encountered *many* more
smart people getting confused as to why the map / fold etc in prelude are all list specific than i've seen people struggle with type classes.
The Haskell beginners I know, even have problems with 'map' and even more 'fold' being higher order functions.
As a Haskell beginner I actually found in confusing that once I'd learnt the prelude functions I had to learn more functions again to get to the generalised functions. I would have rather been taught the general functions in the specific frame of lists, and then show why the type signature is more general than one for lists - ocharles