Re: Welcome to the "Haskell" mailing list
haskell-request@haskell.org wrote:
Welcome to the Haskell@haskell.org mailing list!
To post to this list, send your email to:
c
hi. im just a newcomer to haskell (www.taesch.com). quite impressed till now ! im trying to have haxml lib running with hugs and had the following problem : 1) under win, quite an issue to tun the cpp stuff. did it under linux, (for info) 2) then i had a "maybeA" which is unknown. some lib i had to add ? ("maybe" doesnt seems to work) 3) a module declare a "with" function, which hugs doenst seem to like . renamed it withlt for now. this make me thinks that this lib is probably not tested under hugs98. could someone confirm that ? as im too newbies, im maybe missing something obvious. Id better asking, i thought. thanks Luc
im trying to have haxml lib running with hugs and had the following problem 1) under win, quite an issue to tun the cpp stuff. did it under linux, (for info)
Thanks for the report. I'll think some more about how to package HaXml to make things easier for Hugs users.
2) then i had a "maybeA" which is unknown. some lib i had to add ? ("maybe" doesnt seems to work)
The only use of "maybeA" is in a comment containing some example code for documentation purposes. It appears that this example is now out of date, for which, apologies. If you want to use the example, you need to rename "maybeA" to "maybeToAttr".
3) a module declare a "with" function, which hugs doenst seem to like. renamed it withlt for now.
"with" is a perfectly valid Haskell function name, but Hugs may have stolen it for a language extension. Try giving Hugs the +98 option at startup, to ensure that all extensions are turned off. [Note to users of the implicit parameter extension: I believe in future the pseudo-keyword "with" will be removed and replaced by "let".]
this make me thinks that this lib is probably not tested under hugs98. could someone confirm that ? as im too newbies, im maybe missing something obvious. Id better asking, i thought.
HaXml is occasionally tested with Hugs98, but not as often as we test it with other compilers. Soon however, we are hoping to have a grand hierarchy of standard libraries for Haskell (including HaXml amongst many others), which will be completely compiler-independent, and tested regularly with all three or four currently-available compilers/interpreters. This should greatly improve the portability of a lot of publically-available Haskell code. Regards, Malcolm
Thu, 22 Mar 2001 21:19:45 +0000, Malcolm Wallace <Malcolm.Wallace@cs.york.ac.uk> pisze:
"with" is a perfectly valid Haskell function name, but Hugs may have stolen it for a language extension. Try giving Hugs the +98 option at startup, to ensure that all extensions are turned off. [Note to users of the implicit parameter extension: I believe in future the pseudo-keyword "with" will be removed and replaced by "let".]
I would like to replace "with" with "let" too. But SimonPJ said he won't do it in ghc unless Hugs does it too, and Mark P Jones said he won't do it in Hugs now (without deep reasons: no people/hours to do that, and no plans to release next Hugs version this year). -- __("< Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/ \__/ ^^ SYGNATURA ZASTÊPCZA QRCZAK
participants (3)
-
luc -
Malcolm Wallace -
qrczak@knm.org.pl