Dear Hugs Maintainers, I would like to ask if it is done for purpose that the function isAlpnanum is called isAlphaNum in Hugs. Here is what the February 2001 version of Hugs tells us: Prelude> :t isAlphanum ERROR - Undefined variable "isAlphanum" Prelude> :t isAlphaNum isAlphaNum :: Char -> Bool The report on the library Char says that the function should be called isAplhanum. Also, Hugs manual mentions it in that form. Various libraries, like Regexp, rely on this statement and one has to manipulate their sources to get them work with Hugs. I would also like to ask when the library Directory is expected to be included into Hugs' distribution. Best Regards, Rysiek
Thank you for your answer, Alastair:
The online library report at haskell.org calls it isAlphaNum (not isAlphanum) so it looks as though Hugs is correct.
I've just checked that the name isAlphanum was used in older versions of Haskell and Hugs while Haskell 98 introduces isAlphaNum. It's time for me to remove the old versions of Prelude.hs from my computer! There are, however, pieces of Haskell software around where the old name is used. One example is the Regexp library by Meurig Sage. I will write him about it. Another example is section 9.1 of online Hugs 98 manual. Best Regards, Rysiek
participants (2)
-
Alastair Reid -
Ryszard Kubiak