ghc-base.git
22 years ago[project @ 2002-02-12 09:39:19 by simonmar]
simonmar [Tue, 12 Feb 2002 09:39:19 +0000 (09:39 +0000)]
[project @ 2002-02-12 09:39:19 by simonmar]
Merge rev. 1.61 of ghc/lib/std/PrelBase.lhs

22 years ago[project @ 2002-02-11 17:30:57 by simonmar]
simonmar [Mon, 11 Feb 2002 17:30:57 +0000 (17:30 +0000)]
[project @ 2002-02-11 17:30:57 by simonmar]
Add code to build/install the split version of this library on Windows
(untested).  It may be that the base library has grown sufficiently to
warrant being split into 3 now, or we may need to orgnise the
splitting criteria a little better.  Feedback from someone with a
Win32 build would be welcome (once I've checked the rest of the
changes in).

22 years ago[project @ 2002-02-11 17:11:12 by simonmar]
simonmar [Mon, 11 Feb 2002 17:11:12 +0000 (17:11 +0000)]
[project @ 2002-02-11 17:11:12 by simonmar]
New module from ghc/lib/std.

22 years ago[project @ 2002-02-11 17:10:56 by simonmar]
simonmar [Mon, 11 Feb 2002 17:10:56 +0000 (17:10 +0000)]
[project @ 2002-02-11 17:10:56 by simonmar]
don't forget -funbox-strict-fields for GHC.IOBase

22 years ago[project @ 2002-02-11 16:11:38 by simonmar]
simonmar [Mon, 11 Feb 2002 16:11:38 +0000 (16:11 +0000)]
[project @ 2002-02-11 16:11:38 by simonmar]
Add missing Show instance for Ptr.

22 years ago[project @ 2002-02-11 12:31:30 by simonmar]
simonmar [Mon, 11 Feb 2002 12:31:30 +0000 (12:31 +0000)]
[project @ 2002-02-11 12:31:30 by simonmar]
- Don't forget System/Console
- Add -fglasgow-exts and -cpp here rather than mk/target.mk

22 years ago[project @ 2002-02-11 12:29:13 by simonmar]
simonmar [Mon, 11 Feb 2002 12:29:27 +0000 (12:29 +0000)]
[project @ 2002-02-11 12:29:13 by simonmar]
HsCore ==> HsBase

22 years ago[project @ 2002-02-11 12:28:57 by simonmar]
simonmar [Mon, 11 Feb 2002 12:28:57 +0000 (12:28 +0000)]
[project @ 2002-02-11 12:28:57 by simonmar]
Export runMain (following ghc/lib/std/PrelTopHandler.lhs)

22 years ago[project @ 2002-02-11 12:28:31 by simonmar]
simonmar [Mon, 11 Feb 2002 12:28:31 +0000 (12:28 +0000)]
[project @ 2002-02-11 12:28:31 by simonmar]
Export the various memcpy functions (following ghc/lib/std/PrelIO.hs)

22 years ago[project @ 2002-02-11 12:28:04 by simonmar]
simonmar [Mon, 11 Feb 2002 12:28:04 +0000 (12:28 +0000)]
[project @ 2002-02-11 12:28:04 by simonmar]
Final part of QuickCheck from hslibs/utils.

22 years ago[project @ 2002-02-11 12:27:34 by simonmar]
simonmar [Mon, 11 Feb 2002 12:27:34 +0000 (12:27 +0000)]
[project @ 2002-02-11 12:27:34 by simonmar]
These files aren't necessary any more.

22 years ago[project @ 2002-02-07 11:13:29 by simonmar]
simonmar [Thu, 7 Feb 2002 11:13:30 +0000 (11:13 +0000)]
[project @ 2002-02-07 11:13:29 by simonmar]
Various updates after rearranging the directory structure in the
repository (there wasn't any history worth keeping, and it's better to
do this now before we go 'live').

Packages under 'compat' are backwards-compatibility packages which
should provide an interface equivalent to the current hslibs setup.
There are a few packages still missing.

22 years ago[project @ 2002-02-06 11:51:12 by simonmar]
simonmar [Wed, 6 Feb 2002 11:51:12 +0000 (11:51 +0000)]
[project @ 2002-02-06 11:51:12 by simonmar]
- change package name to "base"
- make GHC/PrimopWrappers work.

22 years ago[project @ 2002-02-06 11:50:31 by simonmar]
simonmar [Wed, 6 Feb 2002 11:50:31 +0000 (11:50 +0000)]
[project @ 2002-02-06 11:50:31 by simonmar]
Back off: don't use UseGhcForCc as a magic way to get the right
include paths, because we still need to tell mkdependC about them.

22 years ago[project @ 2002-02-06 11:49:32 by simonmar]
simonmar [Wed, 6 Feb 2002 11:49:32 +0000 (11:49 +0000)]
[project @ 2002-02-06 11:49:32 by simonmar]
#include <stdlib.h>

22 years ago[project @ 2002-02-06 10:40:26 by simonmar]
simonmar [Wed, 6 Feb 2002 10:40:26 +0000 (10:40 +0000)]
[project @ 2002-02-06 10:40:26 by simonmar]
Building the cbits library is simpler with UseGhcForCC=YES.

22 years ago[project @ 2002-02-06 10:14:26 by simonmar]
simonmar [Wed, 6 Feb 2002 10:14:26 +0000 (10:14 +0000)]
[project @ 2002-02-06 10:14:26 by simonmar]
There's no need for this to be a .hsc file.  I'm moving towards
libraries/core being .hsc-free, so eventually this can be used for
bootstrapping.

22 years ago[project @ 2002-02-05 17:32:24 by simonmar]
simonmar [Tue, 5 Feb 2002 17:32:27 +0000 (17:32 +0000)]
[project @ 2002-02-05 17:32:24 by simonmar]
- Merging from ghc/lib/std
- Add System.IO.Error
- Now builds without --make, so we can do -split-objs

22 years ago[project @ 2002-01-02 15:13:23 by simonmar]
simonmar [Wed, 2 Jan 2002 15:13:23 +0000 (15:13 +0000)]
[project @ 2002-01-02 15:13:23 by simonmar]
We need GHC/Prim.hi for when the package is built, although we only
use GHC/Prim.hi-boot during building.

22 years ago[project @ 2002-01-02 15:01:44 by simonmar]
simonmar [Wed, 2 Jan 2002 15:01:44 +0000 (15:01 +0000)]
[project @ 2002-01-02 15:01:44 by simonmar]
Fix the names of some foreign imports.

22 years ago[project @ 2002-01-02 15:01:27 by simonmar]
simonmar [Wed, 2 Jan 2002 15:01:27 +0000 (15:01 +0000)]
[project @ 2002-01-02 15:01:27 by simonmar]
import Prelude explicitly (this is necessary in libraries/core so that
ghc --make can infer correct dependencies).

22 years ago[project @ 2002-01-02 14:40:09 by simonmar]
simonmar [Wed, 2 Jan 2002 14:40:11 +0000 (14:40 +0000)]
[project @ 2002-01-02 14:40:09 by simonmar]
Make this compile again, and update with latest changes from hslibs/lang.

22 years ago[project @ 2001-12-21 15:07:20 by simonmar]
simonmar [Fri, 21 Dec 2001 15:07:26 +0000 (15:07 +0000)]
[project @ 2001-12-21 15:07:20 by simonmar]
Merge up to the ghc/lib/std on the HEAD (tagged as
new-libraries-last-merged).

22 years ago[project @ 2001-10-18 11:14:17 by rrt]
rrt [Thu, 18 Oct 2001 11:14:17 +0000 (11:14 +0000)]
[project @ 2001-10-18 11:14:17 by rrt]
Remove comment that was for STGHUGS.

22 years ago[project @ 2001-10-18 11:10:19 by rrt]
rrt [Thu, 18 Oct 2001 11:10:19 +0000 (11:10 +0000)]
[project @ 2001-10-18 11:10:19 by rrt]
Remove STGHUGSery.

22 years ago[project @ 2001-09-14 11:25:57 by simonmar]
simonmar [Fri, 14 Sep 2001 11:25:57 +0000 (11:25 +0000)]
[project @ 2001-09-14 11:25:57 by simonmar]
Remove inline functions from GHC.Handle and GHC.IO, and declare them as
'extern inline' in HsCore.h.

22 years ago[project @ 2001-09-14 11:25:23 by simonmar]
simonmar [Fri, 14 Sep 2001 11:25:24 +0000 (11:25 +0000)]
[project @ 2001-09-14 11:25:23 by simonmar]
- replace PackedString implementation with one based on UArray.  It hasn't
  been tuned for performance yet, and it seems that not enough fusion is
  happening yet, but in theory it should be nearly as fast as the old
  implementation (modulo the fact that the new packed string representation
  used 32-bit chars vs. 8-bit chars in the old implementation).

- remove hPutBufBA and hGetBufBA from GHC.IO.

- add new functions hPutArray and hGetArray to Data.Array.IO, to directly
  read/write arrays of bytes.  These are behind the implementations of
  hGetPS & hPutPS in the new PackedString.

- finally, remove the last vestiges of ByteArray and MutableByteArray
  from the core libraries.  Deprecated implementations will be available
  in the lang compatibility package.

- move the inline functions from GHC.Handle into HsCore.h, and declare
  them as 'extern inline'.

22 years ago[project @ 2001-09-13 15:34:17 by simonmar]
simonmar [Thu, 13 Sep 2001 15:34:17 +0000 (15:34 +0000)]
[project @ 2001-09-13 15:34:17 by simonmar]
remove unused import

22 years ago[project @ 2001-09-13 11:50:35 by simonmar]
simonmar [Thu, 13 Sep 2001 11:50:35 +0000 (11:50 +0000)]
[project @ 2001-09-13 11:50:35 by simonmar]
Add Set (from package data)

22 years ago[project @ 2001-09-13 11:40:28 by simonmar]
simonmar [Thu, 13 Sep 2001 11:40:28 +0000 (11:40 +0000)]
[project @ 2001-09-13 11:40:28 by simonmar]
remove get_prog_arg{c,v} prototypes

22 years ago[project @ 2001-09-13 11:39:58 by simonmar]
simonmar [Thu, 13 Sep 2001 11:39:58 +0000 (11:39 +0000)]
[project @ 2001-09-13 11:39:58 by simonmar]
Use withForeignPtr rather than passing ForeignPtrs directly to foreign
imported functions.

22 years ago[project @ 2001-09-13 11:39:14 by simonmar]
simonmar [Thu, 13 Sep 2001 11:39:14 +0000 (11:39 +0000)]
[project @ 2001-09-13 11:39:14 by simonmar]
Fix the module header

22 years ago[project @ 2001-09-13 11:38:54 by simonmar]
simonmar [Thu, 13 Sep 2001 11:38:54 +0000 (11:38 +0000)]
[project @ 2001-09-13 11:38:54 by simonmar]
cosmetic only: separate the IOErrorType declaration into Haskell 98
and non-Haskell 98 sections.

22 years ago[project @ 2001-09-13 11:37:43 by simonmar]
simonmar [Thu, 13 Sep 2001 11:37:43 +0000 (11:37 +0000)]
[project @ 2001-09-13 11:37:43 by simonmar]
remove a couple of unused imports

22 years ago[project @ 2001-09-13 11:37:08 by simonmar]
simonmar [Thu, 13 Sep 2001 11:37:08 +0000 (11:37 +0000)]
[project @ 2001-09-13 11:37:08 by simonmar]
add missing import; make it compile

22 years ago[project @ 2001-09-13 11:36:52 by simonmar]
simonmar [Thu, 13 Sep 2001 11:36:52 +0000 (11:36 +0000)]
[project @ 2001-09-13 11:36:52 by simonmar]
make this compile

22 years ago[project @ 2001-09-13 11:35:09 by simonmar]
simonmar [Thu, 13 Sep 2001 11:35:09 +0000 (11:35 +0000)]
[project @ 2001-09-13 11:35:09 by simonmar]
Add System.Mem directory

22 years ago[project @ 2001-08-30 13:36:00 by simonmar]
simonmar [Thu, 30 Aug 2001 13:36:00 +0000 (13:36 +0000)]
[project @ 2001-08-30 13:36:00 by simonmar]
fix a few typos and add some clarifications

22 years ago[project @ 2001-08-17 12:50:34 by simonmar]
simonmar [Fri, 17 Aug 2001 12:50:35 +0000 (12:50 +0000)]
[project @ 2001-08-17 12:50:34 by simonmar]
Track updates to ghc/lib/std and hslibs.

22 years ago[project @ 2001-08-17 12:48:38 by simonmar]
simonmar [Fri, 17 Aug 2001 12:48:38 +0000 (12:48 +0000)]
[project @ 2001-08-17 12:48:38 by simonmar]
Add QuickCheck from package util.

22 years ago[project @ 2001-08-17 12:47:47 by simonmar]
simonmar [Fri, 17 Aug 2001 12:47:47 +0000 (12:47 +0000)]
[project @ 2001-08-17 12:47:47 by simonmar]
Add a Makefile (for installing the includes)

22 years ago[project @ 2001-08-17 12:47:10 by simonmar]
simonmar [Fri, 17 Aug 2001 12:47:10 +0000 (12:47 +0000)]
[project @ 2001-08-17 12:47:10 by simonmar]
Copy from ghc/lib/std/cbits

22 years ago[project @ 2001-08-17 12:46:40 by simonmar]
simonmar [Fri, 17 Aug 2001 12:46:40 +0000 (12:46 +0000)]
[project @ 2001-08-17 12:46:40 by simonmar]
Add default pretty printing library.

22 years ago[project @ 2001-08-17 12:46:16 by simonmar]
simonmar [Fri, 17 Aug 2001 12:46:16 +0000 (12:46 +0000)]
[project @ 2001-08-17 12:46:16 by simonmar]
Add default pretty printing library (Text.PrettyPrint.HughesPJ).

22 years ago[project @ 2001-08-17 12:45:27 by simonmar]
simonmar [Fri, 17 Aug 2001 12:45:27 +0000 (12:45 +0000)]
[project @ 2001-08-17 12:45:27 by simonmar]
Move System.IO.Directory to System.Directory

22 years ago[project @ 2001-08-17 12:44:54 by simonmar]
simonmar [Fri, 17 Aug 2001 12:44:54 +0000 (12:44 +0000)]
[project @ 2001-08-17 12:44:54 by simonmar]
Add FiniteMap from package data.

22 years ago[project @ 2001-08-07 15:25:04 by simonmar]
simonmar [Tue, 7 Aug 2001 15:25:04 +0000 (15:25 +0000)]
[project @ 2001-08-07 15:25:04 by simonmar]
Remove 'fork' (unsafe, and not used), and don't export 'seq' and 'par'.

22 years ago[project @ 2001-08-02 13:30:36 by simonmar]
simonmar [Thu, 2 Aug 2001 13:30:36 +0000 (13:30 +0000)]
[project @ 2001-08-02 13:30:36 by simonmar]
Don't export non-H98 functions

22 years ago[project @ 2001-08-02 11:20:50 by simonmar]
simonmar [Thu, 2 Aug 2001 11:20:50 +0000 (11:20 +0000)]
[project @ 2001-08-02 11:20:50 by simonmar]
Add a POSIX regular expression binding as Text/Regex/Posix.  POSIX
regexps are provided virtually everywhere (except Windows, but there's
always pcre), and this means we won't have to ship the a copy of
GNU regex.c, which is GPL'ed.

Compared to hslibs/text/Regex.lhs, this one is much shorter (150 lines
vs. 350), more portable (uses the FFI libs and hsc2hs vs. casm), and
easier to use (it returns the right number of subexpressions from the
regex, rather than 32 all the time).

Text.Regex is a re-implementation of the old
hslibs/text/RegexString.lhs, written to use Text.Regex.Posix.  The
syntax of regexps is probably not identical, but it's certainly
similar enough that the URI library works unchanged with the new
implementation.

22 years ago[project @ 2001-08-01 13:53:07 by simonmar]
simonmar [Wed, 1 Aug 2001 13:53:07 +0000 (13:53 +0000)]
[project @ 2001-08-01 13:53:07 by simonmar]
Add Andy Gill's HTML combinator library.

22 years ago[project @ 2001-07-31 16:41:32 by simonmar]
simonmar [Tue, 31 Jul 2001 16:41:32 +0000 (16:41 +0000)]
[project @ 2001-07-31 16:41:32 by simonmar]
Add the template package config, and move some of the makefile code
out into ../mk/target.mk.

22 years ago[project @ 2001-07-31 16:35:29 by simonmar]
simonmar [Tue, 31 Jul 2001 16:35:29 +0000 (16:35 +0000)]
[project @ 2001-07-31 16:35:29 by simonmar]
use the eqForeignPtr primop

22 years ago[project @ 2001-07-31 14:36:19 by simonmar]
simonmar [Tue, 31 Jul 2001 14:36:19 +0000 (14:36 +0000)]
[project @ 2001-07-31 14:36:19 by simonmar]
add missing #include

22 years ago[project @ 2001-07-31 14:34:23 by simonmar]
simonmar [Tue, 31 Jul 2001 14:34:23 +0000 (14:34 +0000)]
[project @ 2001-07-31 14:34:23 by simonmar]
add a couple of useful variants of catch & catchJust:

handle    :: (Exception -> IO a) -> IO a -> IO a
handleJust :: (Exception -> Maybe b) -> (b -> IO a) -> IO a -> IO a

22 years ago[project @ 2001-07-31 13:38:10 by simonmar]
simonmar [Tue, 31 Jul 2001 13:38:10 +0000 (13:38 +0000)]
[project @ 2001-07-31 13:38:10 by simonmar]
merge hslibs/lang/ArrayBase.lhs rev. 1.19

22 years ago[project @ 2001-07-31 13:31:44 by simonmar]
simonmar [Tue, 31 Jul 2001 13:31:44 +0000 (13:31 +0000)]
[project @ 2001-07-31 13:31:44 by simonmar]
merge hslibs/lang/ST.lhs rev. 1.14

22 years ago[project @ 2001-07-31 13:28:58 by simonmar]
simonmar [Tue, 31 Jul 2001 13:28:58 +0000 (13:28 +0000)]
[project @ 2001-07-31 13:28:58 by simonmar]
merge hslibs/lang/ArrayBase.lhs rev. 1.17-1.18

22 years ago[project @ 2001-07-31 13:14:01 by simonmar]
simonmar [Tue, 31 Jul 2001 13:14:01 +0000 (13:14 +0000)]
[project @ 2001-07-31 13:14:01 by simonmar]
merge ghc/lib/std/PrelList.lhs rev. 1.25

22 years ago[project @ 2001-07-31 13:11:40 by simonmar]
simonmar [Tue, 31 Jul 2001 13:11:40 +0000 (13:11 +0000)]
[project @ 2001-07-31 13:11:40 by simonmar]
merge ghc/lib/std/PrelErr.lhs rev. 1.21

22 years ago[project @ 2001-07-31 13:11:07 by simonmar]
simonmar [Tue, 31 Jul 2001 13:11:07 +0000 (13:11 +0000)]
[project @ 2001-07-31 13:11:07 by simonmar]
merge ghc/lib/std/PrelErr.lhs rev. 1.20

22 years ago[project @ 2001-07-31 13:10:01 by simonmar]
simonmar [Tue, 31 Jul 2001 13:10:01 +0000 (13:10 +0000)]
[project @ 2001-07-31 13:10:01 by simonmar]
merge ghc/lib/std/PrelStorable.lhs rev. 1.8

22 years ago[project @ 2001-07-31 13:09:11 by simonmar]
simonmar [Tue, 31 Jul 2001 13:09:11 +0000 (13:09 +0000)]
[project @ 2001-07-31 13:09:11 by simonmar]
merge ghc/lib/std/Num.lhs rev. 1.40

22 years ago[project @ 2001-07-31 13:06:51 by simonmar]
simonmar [Tue, 31 Jul 2001 13:06:51 +0000 (13:06 +0000)]
[project @ 2001-07-31 13:06:51 by simonmar]
merge ghc/lib/std/PrelEnum.lhs rev. 1.14

22 years ago[project @ 2001-07-31 13:06:09 by simonmar]
simonmar [Tue, 31 Jul 2001 13:06:09 +0000 (13:06 +0000)]
[project @ 2001-07-31 13:06:09 by simonmar]
merge ghc/lib/std/Time.hsc rev. 1.19

22 years ago[project @ 2001-07-31 13:05:33 by simonmar]
simonmar [Tue, 31 Jul 2001 13:05:33 +0000 (13:05 +0000)]
[project @ 2001-07-31 13:05:33 by simonmar]
merge ghc/lib/std/Time.hsc rev. 1.18

22 years ago[project @ 2001-07-31 13:05:02 by simonmar]
simonmar [Tue, 31 Jul 2001 13:05:02 +0000 (13:05 +0000)]
[project @ 2001-07-31 13:05:02 by simonmar]
merge ghc/lib/std/Time.hsc rev. 1.17

22 years ago[project @ 2001-07-31 13:03:28 by simonmar]
simonmar [Tue, 31 Jul 2001 13:03:28 +0000 (13:03 +0000)]
[project @ 2001-07-31 13:03:28 by simonmar]
merge ghc/lib/std/PrelHandle.hsc rev. 1.15

22 years ago[project @ 2001-07-31 13:00:26 by simonmar]
simonmar [Tue, 31 Jul 2001 13:00:26 +0000 (13:00 +0000)]
[project @ 2001-07-31 13:00:26 by simonmar]
merge ghc/lib/std/PrelGHC.hi-boot rev. 1.57

22 years ago[project @ 2001-07-31 12:59:30 by simonmar]
simonmar [Tue, 31 Jul 2001 12:59:30 +0000 (12:59 +0000)]
[project @ 2001-07-31 12:59:30 by simonmar]
merge ghc/lib/std/PrelCError.lhs rev. 1.10

22 years ago[project @ 2001-07-31 12:58:00 by simonmar]
simonmar [Tue, 31 Jul 2001 12:58:00 +0000 (12:58 +0000)]
[project @ 2001-07-31 12:58:00 by simonmar]
merge ghc/lib/std/PrelInt.lhs rev. 1.16-1.18

22 years ago[project @ 2001-07-31 12:52:37 by simonmar]
simonmar [Tue, 31 Jul 2001 12:52:37 +0000 (12:52 +0000)]
[project @ 2001-07-31 12:52:37 by simonmar]
add file from main tree.

22 years ago[project @ 2001-07-31 12:51:37 by simonmar]
simonmar [Tue, 31 Jul 2001 12:51:37 +0000 (12:51 +0000)]
[project @ 2001-07-31 12:51:37 by simonmar]
merge ghc/lib/std/PrelTopHandler.lhs rev. 1.3

22 years ago[project @ 2001-07-31 12:50:18 by simonmar]
simonmar [Tue, 31 Jul 2001 12:50:18 +0000 (12:50 +0000)]
[project @ 2001-07-31 12:50:18 by simonmar]
merge fptools/ghc/lib/std/CPUTime.hsc rev. 1.8

22 years ago[project @ 2001-07-31 12:48:55 by simonmar]
simonmar [Tue, 31 Jul 2001 12:48:55 +0000 (12:48 +0000)]
[project @ 2001-07-31 12:48:55 by simonmar]
merge fptools/ghc/lib/std/PrelHandle.hsc rev. 1.13

22 years ago[project @ 2001-07-31 12:48:13 by simonmar]
simonmar [Tue, 31 Jul 2001 12:48:13 +0000 (12:48 +0000)]
[project @ 2001-07-31 12:48:13 by simonmar]
merge fptools/ghc/lib/std/PrelPosix.hsc rev. 1.8

22 years ago[project @ 2001-07-31 12:47:13 by simonmar]
simonmar [Tue, 31 Jul 2001 12:47:13 +0000 (12:47 +0000)]
[project @ 2001-07-31 12:47:13 by simonmar]
merge fptools/ghc/lib/std/PrelHandle.hsc rev. 1.12

22 years ago[project @ 2001-07-31 12:46:17 by simonmar]
simonmar [Tue, 31 Jul 2001 12:46:17 +0000 (12:46 +0000)]
[project @ 2001-07-31 12:46:17 by simonmar]
merge fptools/ghc/lib/std/IO.hsc rev. 1.6

22 years ago[project @ 2001-07-31 11:59:08 by simonmar]
simonmar [Tue, 31 Jul 2001 11:59:08 +0000 (11:59 +0000)]
[project @ 2001-07-31 11:59:08 by simonmar]
merge fptools/ghc/lib/std/PrelHandle.hsc rev. 1.11

22 years ago[project @ 2001-07-31 11:51:09 by simonmar]
simonmar [Tue, 31 Jul 2001 11:51:09 +0000 (11:51 +0000)]
[project @ 2001-07-31 11:51:09 by simonmar]
Catch up with changes in the main tree.

22 years ago[project @ 2001-07-05 13:52:49 by simonmar]
simonmar [Thu, 5 Jul 2001 13:52:49 +0000 (13:52 +0000)]
[project @ 2001-07-05 13:52:49 by simonmar]
Latest revisions:

  - the language extension proposal is included, importing a slightly
    edited version of Malcolm's original proposal.  The section on
    'implicit as' is placed under a "possible extension" section
    heading, as we haven't come to a conclusion on this yet.

  - Note proposal to rename Org to Contrib

  - Add hierarchy design guidelines

  - Rename NHC to Nhc consistently

  - Elaborate on what we mean by "approved extensions" in the
    portability section.

22 years ago[project @ 2001-07-05 10:38:33 by simonmar]
simonmar [Thu, 5 Jul 2001 10:38:33 +0000 (10:38 +0000)]
[project @ 2001-07-05 10:38:33 by simonmar]
Makefile for the document.

22 years ago[project @ 2001-07-04 12:07:27 by simonmar]
simonmar [Wed, 4 Jul 2001 12:07:27 +0000 (12:07 +0000)]
[project @ 2001-07-04 12:07:27 by simonmar]
Add Numeric library here for the time being.  This is a combination of
the H98 Numeric library and a few functions from GHC's NumExts.

22 years ago[project @ 2001-07-04 12:06:33 by simonmar]
simonmar [Wed, 4 Jul 2001 12:06:33 +0000 (12:06 +0000)]
[project @ 2001-07-04 12:06:33 by simonmar]
Add
showListWith :: (a -> ShowS) -> [a] -> ShowS

from GHC's NumExts library.

22 years ago[project @ 2001-07-04 11:30:52 by simonmar]
simonmar [Wed, 4 Jul 2001 11:30:52 +0000 (11:30 +0000)]
[project @ 2001-07-04 11:30:52 by simonmar]
Add Prelude imports.

22 years ago[project @ 2001-07-04 11:29:26 by simonmar]
simonmar [Wed, 4 Jul 2001 11:29:26 +0000 (11:29 +0000)]
[project @ 2001-07-04 11:29:26 by simonmar]
need to import Data.Tuple explicitly to get dependencies right.

22 years ago[project @ 2001-07-04 11:06:39 by simonmar]
simonmar [Wed, 4 Jul 2001 11:06:39 +0000 (11:06 +0000)]
[project @ 2001-07-04 11:06:39 by simonmar]
Add Generics library

22 years ago[project @ 2001-07-04 10:51:09 by simonmar]
simonmar [Wed, 4 Jul 2001 10:51:09 +0000 (10:51 +0000)]
[project @ 2001-07-04 10:51:09 by simonmar]
oops, better import Prelude

(we have to explicitly import Prelude in all modules that aren't
compiled with -fno-implicit-prelude so that ghc --make gets the
dependencies right.  This should really be fixed in CompManager
somehow).

22 years ago[project @ 2001-07-04 10:48:39 by simonmar]
simonmar [Wed, 4 Jul 2001 10:48:39 +0000 (10:48 +0000)]
[project @ 2001-07-04 10:48:39 by simonmar]
Add 4 new libraries

22 years ago[project @ 2001-07-04 10:48:16 by simonmar]
simonmar [Wed, 4 Jul 2001 10:48:16 +0000 (10:48 +0000)]
[project @ 2001-07-04 10:48:16 by simonmar]
bugfix in yesterday's changes.

22 years ago[project @ 2001-07-03 14:17:23 by simonmar]
simonmar [Tue, 3 Jul 2001 14:17:23 +0000 (14:17 +0000)]
[project @ 2001-07-03 14:17:23 by simonmar]
GHC.Maybe isn't used any more (contents moved to Data.Maybe and Data.Either).

22 years ago[project @ 2001-07-03 14:13:32 by simonmar]
simonmar [Tue, 3 Jul 2001 14:13:32 +0000 (14:13 +0000)]
[project @ 2001-07-03 14:13:32 by simonmar]
Move generic Maybe and Either definitions from GHC.Maybe to Data.Maybe
and Data.Either, and remove GHC.Maybe.

22 years ago[project @ 2001-07-03 11:38:07 by simonmar]
simonmar [Tue, 3 Jul 2001 11:38:07 +0000 (11:38 +0000)]
[project @ 2001-07-03 11:38:07 by simonmar]
add new file

22 years ago[project @ 2001-07-03 11:37:49 by simonmar]
simonmar [Tue, 3 Jul 2001 11:37:51 +0000 (11:37 +0000)]
[project @ 2001-07-03 11:37:49 by simonmar]
Latest round of changes, incorporating:

  - some changes to the portability/stability requested by Malcolm
  - Control.Monad.Fix is portable, IO/ST instances moved to System.IO,
    Control.Monad.ST respectively.
  - GHC.Tup moved to Data.Tuple, the code in here is mostly portable
    (and the interface better be).

22 years ago[project @ 2001-07-03 09:21:46 by simonmar]
simonmar [Tue, 3 Jul 2001 09:21:46 +0000 (09:21 +0000)]
[project @ 2001-07-03 09:21:46 by simonmar]
Add a paragraph on when to pluralize(*) a module name

(*) it's a word, I checked

22 years ago[project @ 2001-07-03 09:02:05 by simonmar]
simonmar [Tue, 3 Jul 2001 09:02:05 +0000 (09:02 +0000)]
[project @ 2001-07-03 09:02:05 by simonmar]
add paragraph about capitalisation of module names

22 years ago[project @ 2001-06-29 09:44:03 by simonmar]
simonmar [Fri, 29 Jun 2001 09:44:03 +0000 (09:44 +0000)]
[project @ 2001-06-29 09:44:03 by simonmar]
merge ghc/lib/std/CPUTime.hsc rev. 1.7

22 years ago[project @ 2001-06-29 09:41:37 by simonmar]
simonmar [Fri, 29 Jun 2001 09:41:37 +0000 (09:41 +0000)]
[project @ 2001-06-29 09:41:37 by simonmar]
merge fptools/hslibs/lang/ST.lhs rev. 1.4

22 years ago[project @ 2001-06-28 14:15:04 by simonmar]
simonmar [Thu, 28 Jun 2001 14:15:04 +0000 (14:15 +0000)]
[project @ 2001-06-28 14:15:04 by simonmar]
First cut of the Haskell Core Libraries
=======================================

NOTE: it's not meant to be a working snapshot.  The code is just here
to look at and so the NHC/Hugs guys can start playing around with it.

There is no build system.  For GHC, the libraries tree is intended to
be grafted onto an existing fptools/ tree, and the Makefile in
libraries/core is a quick hack for that setup.  This won't work at the
moment without the other changes needed in fptools/ghc, which I
haven't committed because they'll cause breakage.  However, with the
changes required these sources build a working Prelude and libraries.

The layout mostly follows the one we agreed on, with one or two minor
changes; in particular the Data/Array layout probably isn't final
(there are several choices here).

The document is in libraries/core/doc as promised.

The cbits stuff is just a copy of ghc/lib/std/cbits and has
GHC-specific stuff in it.  We should really separate the
compiler-specific C support from any compiler-independent C support
there might be.

Don't pay too much attention to the portability or stability status
indicated in the header of each source file at the moment - I haven't
gone through to make sure they're all consistent and make sense.

I'm using non-literate source outside of GHC/.  Hope that's ok with
everyone.

We need to discuss how the build system is going to work...