[Haskell-beginners] type def messes up

prad prad at towardsfreedom.com
Sat Jun 26 15:27:20 EDT 2010


sometimes i have copied a typedef from a tutorial or demo and get
errors. i take the typedef out and the program runs fine.

i don't think the problem lies with the person creating the typedef
because they are very experienced.

is it possible that the matter has to do with the interpreter eg hugs
vs ghci and such?
or possibly an update of the syntax over time?

for instance, i'm going through rex page's "two dozen short lessons in
haskell" from uni of oklahoma. they use hugs and the error message for 

reverse 'x'

is completely different from what i get using ghci.

-- 
In friendship,
prad

                                      ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's


More information about the Beginners mailing list