jonathanccast:
> I just noticed that pi doesn't have a default definition in the standard
> prelude, according to the Haddock docs.  Why is this?

    $ ghci
    Prelude> :t pi
    pi :: (Floating a) => a

    Prelude> pi
    3.141592653589793

It's in the Floating class.

-- Don

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to