packages/haskell98.git
4 years agoMark some modules as Safe rather than Trustworthy. master
David Terei [Thu, 13 Nov 2014 01:44:03 +0000 (17:44 -0800)] 
Mark some modules as Safe rather than Trustworthy.

4 years agoKill CPP conditionals for HUGS and old GHCs
Herbert Valerio Riedel [Sun, 21 Sep 2014 09:13:02 +0000 (11:13 +0200)] 
Kill CPP conditionals for HUGS and old GHCs

This commit removes that bitrotting part of Prelude.hs. This reduces the
CPP clutter to the point of not requiring any CPP processing altogether
anymore. The same clanup was performed in the haskell2010 package
recently.

4 years agoAdapt to Data.List/Foldable generalisation wip/T9586
Herbert Valerio Riedel [Thu, 18 Sep 2014 22:41:35 +0000 (00:41 +0200)] 
Adapt to Data.List/Foldable generalisation

4 years agoHide ($!) from GHC.Base
Herbert Valerio Riedel [Sat, 13 Sep 2014 11:23:53 +0000 (13:23 +0200)] 
Hide ($!) from GHC.Base

See also [b53c95fe621d3a66a82e6dad383e1c0c08f3871e/ghc]

4 years agoRelax upper bound to allow `time-1.5`
Herbert Valerio Riedel [Wed, 10 Sep 2014 21:35:11 +0000 (23:35 +0200)] 
Relax upper bound to allow `time-1.5`

4 years agoBump `base` constraint
Herbert Valerio Riedel [Tue, 9 Sep 2014 15:02:51 +0000 (17:02 +0200)] 
Bump `base` constraint

5 years agoFix typo
Gabor Greif [Sun, 23 Mar 2014 19:36:37 +0000 (20:36 +0100)] 
Fix typo

5 years agoUpdate haskell98.cabal and add changelog ghc-7.8 ghc-7.8.1-release ghc-7.8.2-release haskell98-2.0.0.3-release
Herbert Valerio Riedel [Sat, 22 Mar 2014 12:08:00 +0000 (13:08 +0100)] 
Update haskell98.cabal and add changelog

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoModernize and refactor `haskell98.cabal`
Herbert Valerio Riedel [Sat, 26 Oct 2013 20:15:45 +0000 (22:15 +0200)] 
Modernize and refactor `haskell98.cabal`

 - Update to `cabal-version>=0.10`
 - add missing `Setup.hs`
 - add `Prelude` category
 - update version constraints
 - update bug-reports URL
 - add `repository this`

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years ago`M-x untabify` & `M-x delete-trailing-whitespace`
Herbert Valerio Riedel [Sat, 26 Oct 2013 19:59:03 +0000 (21:59 +0200)] 
`M-x untabify` & `M-x delete-trailing-whitespace`

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoAdd explicit `{-# LANGUAGE CPP #-}` pragmas
Herbert Valerio Riedel [Sat, 26 Oct 2013 19:56:05 +0000 (21:56 +0200)] 
Add explicit `{-# LANGUAGE CPP #-}` pragmas

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoDrop redundant `-fno-warn-deprecations`
Herbert Valerio Riedel [Sat, 26 Oct 2013 19:54:35 +0000 (21:54 +0200)] 
Drop redundant `-fno-warn-deprecations`

Doesn't seem to have any effect with GHC HEAD.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoRelax build-deps to allow upcoming `array-0.5.0.0`
Herbert Valerio Riedel [Fri, 11 Oct 2013 19:50:45 +0000 (21:50 +0200)] 
Relax build-deps to allow upcoming `array-0.5.0.0`

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
5 years agoUpdate Git repo URL in `.cabal` file
Herbert Valerio Riedel [Wed, 11 Sep 2013 13:15:01 +0000 (15:15 +0200)] 
Update Git repo URL in `.cabal` file

6 years agoFix import warnings
Ian Lynagh [Thu, 6 Jun 2013 17:38:32 +0000 (18:38 +0100)] 
Fix import warnings

6 years agoStop using the deprecated System.Cmd
Ian Lynagh [Fri, 15 Feb 2013 21:52:01 +0000 (21:52 +0000)] 
Stop using the deprecated System.Cmd

6 years agoRemove nhc98-specific files and content
Ian Lynagh [Fri, 15 Feb 2013 20:57:26 +0000 (20:57 +0000)] 
Remove nhc98-specific files and content

6 years agoBump base lower version to 4.5 (the version GHC 7.4.1 came with)
Ian Lynagh [Fri, 30 Nov 2012 23:29:07 +0000 (23:29 +0000)] 
Bump base lower version to 4.5 (the version GHC 7.4.1 came with)

6 years agoUpdate dependencies
Ian Lynagh [Fri, 30 Nov 2012 17:56:15 +0000 (17:56 +0000)] 
Update dependencies

6 years agoBump version number following new policy
Ian Lynagh [Fri, 30 Nov 2012 16:40:45 +0000 (16:40 +0000)] 
Bump version number following new policy

We now keep the HEAD version numbers as values which would be suitable
for immediate release.

6 years agoAdd comment to .cabal file saying what GHC 7.6.1 shipped with
Ian Lynagh [Fri, 30 Nov 2012 15:59:58 +0000 (15:59 +0000)] 
Add comment to .cabal file saying what GHC 7.6.1 shipped with

6 years agoUpdate version bounds for directory
Paolo Capriotti [Tue, 14 Aug 2012 12:25:49 +0000 (13:25 +0100)] 
Update version bounds for directory

6 years agoUpdate dependencies.
Paolo Capriotti [Tue, 10 Jul 2012 15:51:24 +0000 (16:51 +0100)] 
Update dependencies.

6 years agoBump version to 2.0.0.2
Paolo Capriotti [Tue, 10 Jul 2012 10:40:15 +0000 (11:40 +0100)] 
Bump version to 2.0.0.2

7 years agoFollow changes in base
Ian Lynagh [Tue, 19 Jun 2012 21:53:46 +0000 (22:53 +0100)] 
Follow changes in base

7 years agoUpdate .gitignore.
Paolo Capriotti [Tue, 6 Mar 2012 10:57:34 +0000 (10:57 +0000)] 
Update .gitignore.

7 years agoFix broken links in Random; fixes trac #5585
Ian Lynagh [Wed, 16 Nov 2011 18:57:55 +0000 (18:57 +0000)] 
Fix broken links in Random; fixes trac #5585

It was linking to System.Random, but that's not in haskell98.

7 years agoRelax the time dependency
Ian Lynagh [Sun, 25 Sep 2011 13:22:39 +0000 (14:22 +0100)] 
Relax the time dependency

7 years agoRemove old darcs boring file
David Terei [Wed, 10 Aug 2011 19:30:34 +0000 (12:30 -0700)] 
Remove old darcs boring file

7 years agoFix conditional pragma to work with 6.12
David Terei [Tue, 9 Aug 2011 17:37:01 +0000 (10:37 -0700)] 
Fix conditional pragma to work with 6.12

7 years agoUse Safe Haskell for GHC >= 7.2
David Terei [Fri, 5 Aug 2011 21:14:36 +0000 (14:14 -0700)] 
Use Safe Haskell for GHC >= 7.2

7 years agoRelax a dependency ghc-7.2 ghc-7.2.1-release ghc-7.2.2-release
Ian Lynagh [Wed, 6 Jul 2011 19:29:23 +0000 (20:29 +0100)] 
Relax a dependency

7 years agoRemove unnecessary dependency on random
Ian Lynagh [Wed, 6 Jul 2011 18:32:50 +0000 (19:32 +0100)] 
Remove unnecessary dependency on random

7 years agoBump version number
Ian Lynagh [Wed, 6 Jul 2011 18:02:50 +0000 (19:02 +0100)] 
Bump version number

8 years agoMake splitAt conform to Haskell 98/2010 (fixes #1182).
Michal Terepeta [Mon, 20 Jun 2011 19:09:01 +0000 (21:09 +0200)] 
Make splitAt conform to Haskell 98/2010 (fixes #1182).

8 years agoAdd old behaviour of gcd
Daniel Fischer [Tue, 17 May 2011 21:01:47 +0000 (23:01 +0200)] 
Add old behaviour of gcd

The behaviour of gcd was changed to "gcd 0 0 = 0", here we must keep
the haskell98 behaviour and raise an error.

8 years agoUpdate source repo location to be the git repo in .cabal file
Ian Lynagh [Fri, 8 Apr 2011 10:22:50 +0000 (11:22 +0100)] 
Update source repo location to be the git repo in .cabal file

8 years agoPut a Prelude and Numeric module in the haskell98 package ghc-darcs-git-switchover
Ian Lynagh [Sat, 5 Feb 2011 19:22:24 +0000 (19:22 +0000)] 
Put a Prelude and Numeric module in the haskell98 package
Prelude is necessary now base's Prelude is deprecating/removing catch.

As a result, the package is now not exposed by default, to avoid
ambiguous module problems.

And we therefore can't use haskell98 and base together, so haskell98
also needs a copy of Numeric.

8 years agoUse -fno-warn-deprecations
Ian Lynagh [Sat, 18 Dec 2010 23:09:37 +0000 (23:09 +0000)] 
Use -fno-warn-deprecations

8 years agoAdd version ranges to dependencies; fixes #4513
Ian Lynagh [Sun, 21 Nov 2010 15:12:16 +0000 (15:12 +0000)] 
Add version ranges to dependencies; fixes #4513

8 years agoFixes so Random builds in the haskell98 package
Ian Lynagh [Wed, 13 Oct 2010 19:47:01 +0000 (19:47 +0000)] 
Fixes so Random builds in the haskell98 package

8 years agoCopy the old System.Random as Random
Ian Lynagh [Wed, 13 Oct 2010 18:24:45 +0000 (18:24 +0000)] 
Copy the old System.Random as Random
The System.Random class definition has diverged from Haskell 98.

8 years agoThe haskell98 package is no longer magic
Ian Lynagh [Wed, 6 Oct 2010 13:05:43 +0000 (13:05 +0000)] 
The haskell98 package is no longer magic

8 years agoBump version to 1.1
Ian Lynagh [Fri, 17 Sep 2010 12:56:46 +0000 (12:56 +0000)] 
Bump version to 1.1

8 years agoAdd our own Permissions type, now System.Directory has deviated frmo H98
Ian Lynagh [Wed, 11 Aug 2010 19:04:19 +0000 (19:04 +0000)] 
Add our own Permissions type, now System.Directory has deviated frmo H98

9 years agoAdd a category field to the Cabal file
Ian Lynagh [Sun, 21 Feb 2010 13:58:24 +0000 (13:58 +0000)] 
Add a category field to the Cabal file

9 years agoBump version to 1.0.1.1
Ian Lynagh [Sun, 20 Sep 2009 14:19:17 +0000 (14:19 +0000)] 
Bump version to 1.0.1.1

9 years agoFix "Cabal check" warnings
Ian Lynagh [Tue, 11 Aug 2009 21:59:11 +0000 (21:59 +0000)] 
Fix "Cabal check" warnings

9 years agoSupport for -fwarn-unused-do-bind and -fwarn-wrong-do-bind, as per #3263
Max Bolingbroke [Wed, 1 Jul 2009 20:04:32 +0000 (20:04 +0000)] 
Support for -fwarn-unused-do-bind and -fwarn-wrong-do-bind, as per #3263

10 years agoRequire Cabal version >= 1.6 2009-06-25
Ian Lynagh [Thu, 22 Jan 2009 01:13:07 +0000 (01:13 +0000)] 
Require Cabal version >= 1.6

10 years agoAdd "bug-reports" and "source-repository" info to the Cabal file
Ian Lynagh [Wed, 21 Jan 2009 18:23:53 +0000 (18:23 +0000)] 
Add "bug-reports" and "source-repository" info to the Cabal file
Also switched to the modern Cabal file format

10 years agoPad version number to 1.0.1.0
Ian Lynagh [Sat, 20 Sep 2008 16:01:22 +0000 (16:01 +0000)] 
Pad version number to 1.0.1.0

11 years agoSpecify build-type: Simple 2008-05-28 6_10_branch_has_been_forked
Duncan Coutts [Thu, 18 Oct 2007 12:50:26 +0000 (12:50 +0000)] 
Specify build-type: Simple

11 years agoBump version number
Ian Lynagh [Sun, 14 Oct 2007 13:53:36 +0000 (13:53 +0000)] 
Bump version number

11 years agoAdd a boring file
Ian Lynagh [Thu, 13 Sep 2007 20:46:49 +0000 (20:46 +0000)] 
Add a boring file

11 years agoWe now depend on the array package ghc-6_8_branched_2007-09-03
Ian Lynagh [Wed, 1 Aug 2007 23:57:08 +0000 (23:57 +0000)] 
We now depend on the array package

12 years ago--configure-option and --ghc-option are now provided by Cabal
Ross Paterson [Mon, 4 Jun 2007 11:59:35 +0000 (11:59 +0000)] 
--configure-option and --ghc-option are now provided by Cabal

12 years agosome dummy content for nhc haskell98 package
Malcolm.Wallace@cs.york.ac.uk [Mon, 28 May 2007 14:30:48 +0000 (14:30 +0000)] 
some dummy content for nhc haskell98 package
otherwise the linker still complains about an empty library

12 years agoDummy build for nhc98, to avoid warnings for a missing haskell98 package.
Malcolm.Wallace@cs.york.ac.uk [Mon, 28 May 2007 12:49:44 +0000 (12:49 +0000)] 
Dummy build for nhc98, to avoid warnings for a missing haskell98 package.

12 years agoRemove Makefile and package.conf.in (used in the old build system)
Ian Lynagh [Thu, 24 May 2007 14:26:24 +0000 (14:26 +0000)] 
Remove Makefile and package.conf.in (used in the old build system)

12 years agoWe now depend on process
Ian Lynagh [Wed, 23 May 2007 18:14:56 +0000 (18:14 +0000)] 
We now depend on process

12 years agoWe now depend on directory, random, old-time, old-locale
Ian Lynagh [Sat, 19 May 2007 16:04:51 +0000 (16:04 +0000)] 
We now depend on directory, random, old-time, old-locale

12 years agoFollow Cabal changes in Setup.hs
Ian Lynagh [Wed, 18 Apr 2007 11:44:37 +0000 (11:44 +0000)] 
Follow Cabal changes in Setup.hs

12 years agoFix -Wall warnings
Ian Lynagh [Wed, 11 Apr 2007 00:50:11 +0000 (00:50 +0000)] 
Fix -Wall warnings

12 years agoAdd missing case in removePrefix
Ian Lynagh [Wed, 11 Apr 2007 00:25:52 +0000 (00:25 +0000)] 
Add missing case in removePrefix

12 years agoparse (but don't pass on) options for ./configure
Ian Lynagh [Fri, 6 Apr 2007 15:36:55 +0000 (15:36 +0000)] 
parse (but don't pass on) options for ./configure

12 years agomake Setup suitable for building the libraries with GHC
Ian Lynagh [Sun, 12 Nov 2006 21:46:56 +0000 (21:46 +0000)] 
make Setup suitable for building the libraries with GHC

12 years agoTAG 6.6 release
Ian Lynagh [Wed, 11 Oct 2006 12:47:40 +0000 (12:47 +0000)] 
TAG 6.6 release

12 years agoadd boilerplate Setup.hs
Ross Paterson [Thu, 28 Sep 2006 23:15:25 +0000 (23:15 +0000)] 
add boilerplate Setup.hs

14 years ago[project @ 2005-03-23 14:34:21 by ross] Initial_conversion_from_CVS_complete arity-anal-branch-point cmm-merge2 ghc-assoc-branch-point
ross [Wed, 23 Mar 2005 14:34:21 +0000 (14:34 +0000)] 
[project @ 2005-03-23 14:34:21 by ross]
add license files for individual packages

14 years ago[project @ 2005-02-18 15:06:45 by simonmar] nhc98-1-18-release
simonmar [Fri, 18 Feb 2005 15:06:45 +0000 (15:06 +0000)] 
[project @ 2005-02-18 15:06:45 by simonmar]
Rename fields in InstalledPackageInfo for consistency with
PackageDescription & buildInfo:

 extra-libs (extraLibraries) --> extra-libraries (extraLibraries)
 extra-cc-opts (extraCcOpts) --> cc-options (ccOptions)
 extra-ld-opts (extraLdOpts) --> ld-options (ldOptions)
 extra-hugs-opts (extraHugsOpts) --> hugs-options (hugsOptions)
 extra-frameworks (extraFrameworks) --> frameworks (frameworks)

14 years ago[project @ 2005-02-11 01:55:57 by ross]
ross [Fri, 11 Feb 2005 01:55:57 +0000 (01:55 +0000)] 
[project @ 2005-02-11 01:55:57 by ross]
track syntax changes:

* add License-File and Synopsis fields

* rename Hidden-Fields as Other-Fields

These files are used only by Hugs, but are also useful as examples.

14 years ago[project @ 2005-01-25 17:06:39 by ross] ghc-6-4-branch-point
ross [Tue, 25 Jan 2005 17:06:39 +0000 (17:06 +0000)] 
[project @ 2005-01-25 17:06:39 by ross]
add Cabal package descriptions

14 years ago[project @ 2005-01-20 14:22:27 by simonmar]
simonmar [Thu, 20 Jan 2005 14:22:27 +0000 (14:22 +0000)] 
[project @ 2005-01-20 14:22:27 by simonmar]
Fill in the haddock-interfaces and haddock-html fields in the
package.conf files.

To do this I had to make some changes:

  - haddock-interfaces requires the value of $(datadir).  We can't
    just plug this in, because $(datadir) might change at install-time
    (eg. a Windows installer can be placed anywhere, as can a Unix
    binary .tar.gz distribution).  The current trick is for the
    compiler to splice in the value of $libdir in package.conf at
    runtime.  So we could extend this mechanism and tell the compiler
    the value of $datadir via a command-line option, but that seems
    ugly.

    On Windows, $datadir==$libdir, so we don't need any changes:
    package.conf still uses $libdir, and a Windows installation is
    independent of its absolute location.  Even 'make install' on
    Windows should have this property.

    On Unix:
- for 'make install' and in-place execution, we just use
          absolute paths in package.conf

- for a binary dist, we generate a package.conf that refers
  to $libdir and $datadir, and splice in the values at
  install-time (distrib/Makefile-bin.in).

  - Also, I renamed $libdir to $topdir to more closely reflect its
    actual meaning.  This is somewhat malicious in that it will flush
    out all those clients using $libdir when they really shouldn't
    be :-)

14 years ago[project @ 2005-01-11 14:36:52 by ross]
ross [Tue, 11 Jan 2005 14:36:52 +0000 (14:36 +0000)] 
[project @ 2005-01-11 14:36:52 by ross]
System.IO no longer re-exports System.IO.Error

14 years ago[project @ 2004-11-26 16:22:11 by simonmar] pluggable-1-branch-point
simonmar [Fri, 26 Nov 2004 16:22:11 +0000 (16:22 +0000)] 
[project @ 2004-11-26 16:22:11 by simonmar]
Further integration with the new package story.  GHC now supports
pretty much everything in the package proposal.

  - GHC now works in terms of PackageIds (<pkg>-<version>) rather than
    just package names.  You can still specify package names without
    versions on the command line, as long as the name is unambiguous.

  - GHC understands hidden/exposed modules in a package, and will refuse
    to import a hidden module.  Also, the hidden/eposed status of packages
    is taken into account.

  - I had to remove the old package syntax from ghc-pkg, backwards
    compatibility isn't really practical.

  - All the package.conf.in files have been rewritten in the new syntax,
    and contain a complete list of modules in the package.  I've set all
    the versions to 1.0 for now - please check your package(s) and fix the
    version number & other info appropriately.

  - New options:

-hide-package P    sets the expose flag on package P to False
-ignore-package P  unregisters P for this compilation

For comparison, -package P sets the expose flag on package P
        to True, and also causes P to be linked in eagerly.

        -package-name is no longer officially supported.  Unofficially, it's
a synonym for -ignore-package, which has more or less the same effect
as -package-name used to.

Note that a package may be hidden and yet still be linked into
the program, by virtue of being a dependency of some other package.
To completely remove a package from the compiler's internal database,
        use -ignore-package.

The compiler will complain if any two packages in the
        transitive closure of exposed packages contain the same
        module.

You *must* use -ignore-package P when compiling modules for
        package P, if package P (or an older version of P) is already
        registered.  The compiler will helpfully complain if you don't.
The fptools build system does this.

   - Note: the Cabal library won't work yet.  It still thinks GHC uses
     the old package config syntax.

Internal changes/cleanups:

   - The ModuleName type has gone away.  Modules are now just (a
     newtype of) FastStrings, and don't contain any package information.
     All the package-related knowledge is in DynFlags, which is passed
     down to where it is needed.

   - DynFlags manipulation has been cleaned up somewhat: there are no
     global variables holding DynFlags any more, instead the DynFlags
     are passed around properly.

   - There are a few less global variables in GHC.  Lots more are
     scheduled for removal.

   - -i is now a dynamic flag, as are all the package-related flags (but
     using them in {-# OPTIONS #-} is Officially Not Recommended).

   - make -j now appears to work under fptools/libraries/.  Probably
     wouldn't take much to get it working for a whole build.

14 years ago[project @ 2004-09-08 15:13:20 by ross]
ross [Wed, 8 Sep 2004 15:13:20 +0000 (15:13 +0000)] 
[project @ 2004-09-08 15:13:20 by ross]
remove unneeded #includes of ghcconfig.h

14 years ago[project @ 2004-08-13 13:29:09 by simonmar]
simonmar [Fri, 13 Aug 2004 13:29:09 +0000 (13:29 +0000)] 
[project @ 2004-08-13 13:29:09 by simonmar]
Changes required be merge of backend-hacking-branch.  Mostly config.h
==> ghcconfig.h.

14 years ago[project @ 2004-07-30 10:33:20 by ross]
ross [Fri, 30 Jul 2004 10:33:20 +0000 (10:33 +0000)] 
[project @ 2004-07-30 10:33:20 by ross]
reword, saying these are wrappers

14 years ago[project @ 2004-07-29 15:44:20 by ross]
ross [Thu, 29 Jul 2004 15:44:20 +0000 (15:44 +0000)] 
[project @ 2004-07-29 15:44:20 by ross]
update, adding a pointer to the FFI addendum

15 years ago[project @ 2003-11-15 22:31:17 by panne]
panne [Sat, 15 Nov 2003 22:31:17 +0000 (22:31 +0000)] 
[project @ 2003-11-15 22:31:17 by panne]
Decouple packages a bit more again: The prologue of the combined index is now
generated via shell magic from the package prologues. As a nice side effect,
some autoconf magic is gone, so configure.ac is effectively empty now (but not
for long... :-)

15 years ago[project @ 2003-11-11 11:50:53 by simonmar]
simonmar [Tue, 11 Nov 2003 11:50:53 +0000 (11:50 +0000)] 
[project @ 2003-11-11 11:50:53 by simonmar]
Convert to use Haddock 0.6's combined contents/index functionality for
the hierarchical library docs.

HEADS UP: you need Haddock 0.6 in order to run 'make html' in
fptools/libraries now.

15 years ago[project @ 2003-11-10 15:32:44 by simonmar]
simonmar [Mon, 10 Nov 2003 15:32:44 +0000 (15:32 +0000)] 
[project @ 2003-11-10 15:32:44 by simonmar]
Change the documentation title from "Haskell Core Libraries" to "Haskell Hierarchical Libraries".

16 years ago[project @ 2003-05-17 00:11:29 by ross]
ross [Sat, 17 May 2003 00:11:29 +0000 (00:11 +0000)] 
[project @ 2003-05-17 00:11:29 by ross]
Rename per-package configuration files from $(PACKAGE).conf.* to
package.conf.*, making them easier to find (since each package is
in a separate directory anyway).

16 years ago[project @ 2003-05-16 10:14:23 by simonmar]
simonmar [Fri, 16 May 2003 10:14:23 +0000 (10:14 +0000)] 
[project @ 2003-05-16 10:14:23 by simonmar]
Now that we have auto packages, it makes sense to keep all the
interfaces for hierarchical libraries in the same directory tree.  So
now, instead of putting interfaces for package P in $libdir/imports/P,
we put them all in $libdir/imports.

Interfaces for old non-auto non-hierarchical packages now go in
$libdir/hslibs-imports/P for package P.

16 years ago[project @ 2002-12-18 16:29:25 by simonmar] before-galois-hbm before-speceval_2 galois-hbm-head
simonmar [Wed, 18 Dec 2002 16:29:25 +0000 (16:29 +0000)] 
[project @ 2002-12-18 16:29:25 by simonmar]
"Auto" packages.

The big change here is that it is no longer necessary to explicitly
say '-package X' on the command line if X is a package containing
hierarchical Haskell modules.  All packages marked "auto" contribute
to the import path, so their modules are always available.  At link
time, the compiler knows which packages are actually used by the
program, and it links in only those libraries needed.

There's one exception: one-shot linking.  If you link a program using

    ghc -o prog A.o B.o ...

then you need to explicitly add -package flags for each package
required (except base & haskell98) because the compiler has no
information about the package dependencies in this case.

Package configs have a new field: auto, which is either True or False.
Non-auto packages must be mentioned on the command-line as usual.
Non-auto packages are still required for:

  - non-hierarchical libraries (to avoid polluting the module namespace)

  - packages with no Haskell content

  - if you want more than one version of a package, or packages
    providing overlapping functionality where the user must decide
    which one to use.

Doc changes to follow...

16 years ago[project @ 2002-12-12 13:42:47 by ross]
ross [Thu, 12 Dec 2002 13:42:47 +0000 (13:42 +0000)] 
[project @ 2002-12-12 13:42:47 by ross]
Changes to the exception interface, as discussed on the libraries list.

1) Move bracket and bracket_ from GHC.Exception (and hence System.IO)
   to haskell98/IO.hs.  These two should now never be used (except in
   all-H98 programs), and this will save users of the new libraries from
   having to hide them.  Use the ones in Control.Exception instead.

2) Define

        type IOError = IOException      -- was Exception

   leaving the type of Prelude.ioError as IOError -> IO a,
   but adding to Control.Exception

        throwIO :: Exception -> IO a

The result is a type distinction between the variants of catch and try:

Prelude.catch           :: IO a -> (IOError -> IO a) -> IO a
Control.Exception.catch :: IO a -> (Exception -> IO a) -> IO a
System.IO.Error.try     :: IO a -> IO (Either IOError a)
Control.Exception.try   :: IO a -> IO (Either Exception a)

These are breaking changes: the first one affects only import lists,
but the second will bite in the following situations:

- using ioError on general Exceptions: use throwIO instead.

- using throw on IOErrors: if in the IO monad, use ioError instead.
  Otherwise, use throw (IOException e), but why are you throwing
  IO exceptions outside of the IO monad?

Minor changes:
- System.IO.Error now exports catch and try
- moved try from GHC.Exception to System.IO.Error, because it's
  portable and can be shared by Hugs.

16 years ago[project @ 2002-12-05 09:50:01 by simonmar]
simonmar [Thu, 5 Dec 2002 09:50:01 +0000 (09:50 +0000)] 
[project @ 2002-12-05 09:50:01 by simonmar]
illegalOperationType ==> illegalOperationErrorType

16 years ago[project @ 2002-12-04 17:22:29 by simonmar]
simonmar [Wed, 4 Dec 2002 17:22:29 +0000 (17:22 +0000)] 
[project @ 2002-12-04 17:22:29 by simonmar]
Add omitted fieldname ctSec to the export of CalendarTime.

16 years ago[project @ 2002-12-04 12:23:44 by simonmar]
simonmar [Wed, 4 Dec 2002 12:23:44 +0000 (12:23 +0000)] 
[project @ 2002-12-04 12:23:44 by simonmar]
MarshalError is supposed to export some of the stuff from
System.IO.Error too.

16 years ago[project @ 2002-09-29 20:25:40 by panne]
panne [Sun, 29 Sep 2002 20:25:40 +0000 (20:25 +0000)] 
[project @ 2002-09-29 20:25:40 by panne]
Warning police #2: Foreign.C.Types subsumes Foreign.C.TypesISO
nowadays, so let's nuke the latter from CTypes.

16 years ago[project @ 2002-09-16 13:54:19 by malcolm]
malcolm [Mon, 16 Sep 2002 13:54:19 +0000 (13:54 +0000)] 
[project @ 2002-09-16 13:54:19 by malcolm]
Export the constructor `TimeLocale' as per the Haskell'98 Report.

16 years ago[project @ 2002-08-28 14:06:31 by simonmar]
simonmar [Wed, 28 Aug 2002 14:06:31 +0000 (14:06 +0000)] 
[project @ 2002-08-28 14:06:31 by simonmar]
The standard FFI libraries now live in the haskell98 package, as they
are defined by a Haskell98 addendum.  The lang package is no longer
required to get at these.

16 years ago[project @ 2002-08-12 10:13:09 by simonmar]
simonmar [Mon, 12 Aug 2002 10:13:10 +0000 (10:13 +0000)] 
[project @ 2002-08-12 10:13:09 by simonmar]
cut-n-paste the export lists from the H98 Libraries Report, to make
these modules robust w.r.t. changes to the hierarchical libraries.

16 years ago[project @ 2002-07-16 16:09:00 by ross] meta-haskell-merge7 meta-haskell-merge8
ross [Tue, 16 Jul 2002 16:09:00 +0000 (16:09 +0000)] 
[project @ 2002-07-16 16:09:00 by ross]
Add imports of Hugs.* modules (wrapped in #ifdef __HUGS__) to make these
modules work with Hugs.

16 years ago[project @ 2002-07-02 13:13:37 by simonmar] ghc-5-04 ghc-5-04-1 ghc-ndp2b-trunk-merge-frontier ghc-ndp2b-updated-from-trunk1 meta-haskell-merge6
simonmar [Tue, 2 Jul 2002 13:13:37 +0000 (13:13 +0000)] 
[project @ 2002-07-02 13:13:37 by simonmar]
Add descriptions to the top level of each package documentation

17 years ago[project @ 2002-06-24 14:40:03 by simonmar]
simonmar [Mon, 24 Jun 2002 14:40:03 +0000 (14:40 +0000)] 
[project @ 2002-06-24 14:40:03 by simonmar]
Makefile updates for generating docs with Haddock:

- explicitly depend on package base
- set SRC_HADDOCK_OPTS in some places

17 years ago[project @ 2002-04-02 10:19:47 by simonmar] meta-haskell meta-haskell-merge1 meta-haskell-merge2 meta-haskell-merge3 meta-haskell-merge4 meta-haskell-merge5
simonmar [Tue, 2 Apr 2002 10:19:47 +0000 (10:19 +0000)] 
[project @ 2002-04-02 10:19:47 by simonmar]
hide Data.List.foldl'

17 years ago[project @ 2002-04-02 09:46:26 by simonmar]
simonmar [Tue, 2 Apr 2002 09:46:26 +0000 (09:46 +0000)] 
[project @ 2002-04-02 09:46:26 by simonmar]
Hide the non-H98 bits exported by System.Locale

17 years ago[project @ 2002-02-17 15:22:11 by panne] before-newer-usagesp-frontier
panne [Sun, 17 Feb 2002 15:22:11 +0000 (15:22 +0000)] 
[project @ 2002-02-17 15:22:11 by panne]
Synch import_dirs with the result of "make install". It could have
been fixed the other way round, but fixing the config files makes more
sense to me. Furthermore, I've got a 50% chance of taking the correct
route by pure accident... ;-)