[Haskell-beginners] ghc installation on mac osx 10.4.11(intel),
Xcode 2.4?
Thomas Davie
tom.davie at gmail.com
Tue Feb 24 02:46:04 EST 2009
On 24 Feb 2009, at 08:21, 7stud wrote:
> Hi,
>
> I just bought Real World Haskell, and I'm trying to get the
> ghc compiler set up. The installer for the latest version
> of ghc, 6.10.1, is for Leopard(osx 10.5). What should
> I install for osx 10.4.11(Tiger)?
Try using the version in MacPorts.
> Also, a question about "Beware of enumerating floating
> point numbers" on p. 11. The book doesn't explain
> what it means to enumerate floating point numbers
> without a step, so when it says to beware of
> the non-intuitive behavior of:
>
> ghci> [1.0..1.8]
>
> how would a reader know what the intuitive behavior is?
> Is the step .1, .01, .001? Is there a default
> step? Who knows?
I'd say that if you can't figure out what it should do, that's pretty
non intuitive, no?
Bob
More information about the Beginners
mailing list