It is, but I'd suggest using "import Int" instead, as 
that is compatible with Hugs (and, I believe, the latest
release of Hugs exports "toInt" and "fromInt" from there
too.)

--sigbjorn

Alex Ferguson <[EMAIL PROTECTED]> writes:
> 
> Ulf Schiller writes:
> > I'm just starting to use ghc-4.04 coming from ghc-3.02. I 
> wonder whether there
> > is still a fromInt method available. The compiler says 
> Variable not in scope: 
> > `fromInt'. My code works with Hugs 98. Do I have to make 
> any additional 
> imports?
> 
> I came across this one too (with code that had allegedly been 
> tested with
> 4.04, ha-ha).  IIRC, it's now exported (only) from GlaExts.
> 
> Cheers,
> Alex.
> 

Reply via email to