Re: fromInt
"Bob Tennent" <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.hugs.bugs |
|---|---|
| Message-ID | <[email protected]> |
>| If I enter fromInt 5 at the hugs prompt, I get 5. If I use fromInt 5 in >a module and try to load the | module, I'm told that fromInt is undefined, >unless I explicitly import Hugs.Prelude. Same with toInt, fromDouble. Evidently a mismatch between the exports of Hugs.Prelude and the imports of Prelude.hs.