base vs haskell98
simonmar at microsoft.com
Wed Feb 2 11:15:14 EST 2005
On 02 February 2005 15:55, Ross Paterson wrote:
> On Wed, Feb 02, 2005 at 03:39:43PM +0000, Malcolm Wallace wrote:
>> I recently noticed something strange about the base and haskell98
>> library packages. The modules "Prelude" and "Numeric" seem to be
>> in the base package, whereas I would have expected to see them in
>> the haskell98 package. Is there a good reason why they are in the
>> "wrong" place? And if so, should this be documented somewhere?
> Prelude has to be in base; otherwise the haskell98 package wouldn't
> be optional. Perhaps Numeric could move if the names it exports were
> split between Test.Show, Text.Read and Data.Ratio. I think that
> Foreign doesn't belong in base either, but people find it so
I think of the haskell98 package as semi-deprecated: it's there because
we have to support Haskell 98, but a program which fully buys into the
hierarchical libraries doesn't need it.
Prelude and Foreign: I don't think these are deprecated at all, they
belong in base.
Numeric: maybe should be in haskell98.
More information about the Cvs-libraries