ghc-base.git
21 years ago[project @ 2002-07-23 14:52:46 by simonpj]
simonpj [Tue, 23 Jul 2002 14:52:47 +0000 (14:52 +0000)]
[project @ 2002-07-23 14:52:46 by simonpj]
Various precedence errors in the code
for read and show.  A couple (the show instances
for Ratio and Array) were actually errors in
the Library Report.   A couple more were to
do with whether the precedence of application is
9 (wrong) or 10 (right).

21 years ago[project @ 2002-07-23 10:46:27 by ross]
ross [Tue, 23 Jul 2002 10:46:27 +0000 (10:46 +0000)]
[project @ 2002-07-23 10:46:27 by ross]
Make Data.Unique work with Hugs.

21 years ago[project @ 2002-07-22 13:30:43 by simonmar]
simonmar [Mon, 22 Jul 2002 13:30:43 +0000 (13:30 +0000)]
[project @ 2002-07-22 13:30:43 by simonmar]
Make the new mergesort stable.

21 years ago[project @ 2002-07-22 11:37:38 by ross]
ross [Mon, 22 Jul 2002 11:37:39 +0000 (11:37 +0000)]
[project @ 2002-07-22 11:37:38 by ross]
Make Data.Array.{IArray,MArray,IO,ST} work with Hugs, splitting off
the IOArray part of Hugs.IOExts into Hugs.IOArray and (sadly) adding
Hugs.Array.Base, a cut-down version of Data.Array.Base.

21 years ago[project @ 2002-07-18 22:01:50 by sof]
sof [Thu, 18 Jul 2002 22:01:50 +0000 (22:01 +0000)]
[project @ 2002-07-18 22:01:50 by sof]
win32 console-based implementations of setCooked, {get,set}Echo

21 years ago[project @ 2002-07-18 22:01:07 by sof]
sof [Thu, 18 Jul 2002 22:01:07 +0000 (22:01 +0000)]
[project @ 2002-07-18 22:01:07 by sof]
helper functions for mucking about with Win32 consoles

21 years ago[project @ 2002-07-17 10:47:01 by ross]
ross [Wed, 17 Jul 2002 10:47:01 +0000 (10:47 +0000)]
[project @ 2002-07-17 10:47:01 by ross]
Make the libraries' Numeric module usable by Hugs.  Also deleted a chunk
of code inside #ifdef __HUGS__ -- this was unused, and the copy in Hugs
(now Hugs.Numeric) has since been improved.  (Since these functions are
portable, ideally they would be merged with the versions in GHC.Float)

21 years ago[project @ 2002-07-17 09:22:20 by simonmar]
simonmar [Wed, 17 Jul 2002 09:22:20 +0000 (09:22 +0000)]
[project @ 2002-07-17 09:22:20 by simonmar]
Need to #include <math.h> now that Stg.h doesn't.

21 years ago[project @ 2002-07-16 22:42:28 by sof]
sof [Tue, 16 Jul 2002 22:42:28 +0000 (22:42 +0000)]
[project @ 2002-07-16 22:42:28 by sof]
handleFinalizer: (also) use the handle's type/state
to decide whether or not go ahead with close()ing.

Little bit tidier than magic fd values.

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

21 years ago[project @ 2002-07-16 15:47:25 by ross]
ross [Tue, 16 Jul 2002 15:47:26 +0000 (15:47 +0000)]
[project @ 2002-07-16 15:47:25 by ross]
First stage of making the new libraries work with Hugs:

* wrap #ifndef __HUGS__ around stuff that Hugs defines in its monster
  prelude (because Hugs can't handle recursive imports).

* remove non-Haskell 98 export of [](..) from Data.List

* make the definitions of tuples in Data.Tuple GHC-only.

* make the export of the new Read stuff in Text.Read GHC-only, like its
  definition is.

21 years ago[project @ 2002-07-15 16:15:14 by simonmar]
simonmar [Mon, 15 Jul 2002 16:15:43 +0000 (16:15 +0000)]
[project @ 2002-07-15 16:15:14 by simonmar]
extra comma in export list

21 years ago[project @ 2002-07-15 16:02:11 by simonmar]
simonmar [Mon, 15 Jul 2002 16:02:12 +0000 (16:02 +0000)]
[project @ 2002-07-15 16:02:11 by simonmar]
Remove for extra commas in export lists (GHC is a little too lenient).
Patch from Ross Paterson.

21 years ago[project @ 2002-07-15 12:25:24 by simonmar]
simonmar [Mon, 15 Jul 2002 12:25:24 +0000 (12:25 +0000)]
[project @ 2002-07-15 12:25:24 by simonmar]
Remove duplication in the extra_libraries list for mingw32

21 years ago[project @ 2002-07-08 10:43:10 by simonmar]
simonmar [Mon, 8 Jul 2002 10:43:10 +0000 (10:43 +0000)]
[project @ 2002-07-08 10:43:10 by simonmar]
Fix a bug in getDirectoryEntries where the directory stream wasn't
always being closed.  This one shows up on Solaris as a "too many open
files" failure when trying to run the test suite.

21 years ago[project @ 2002-07-04 16:22:02 by simonmar]
simonmar [Thu, 4 Jul 2002 16:22:03 +0000 (16:22 +0000)]
[project @ 2002-07-04 16:22:02 by simonmar]
Flesh out the documentation a bit.

21 years ago[project @ 2002-07-04 13:33:24 by simonmar]
simonmar [Thu, 4 Jul 2002 13:33:25 +0000 (13:33 +0000)]
[project @ 2002-07-04 13:33:24 by simonmar]
Sigh, enabling _POSIX_PTHREAD_SEMANTICS causes the Solaris header
files to drop several silly little C functions into the source code.
We don't want these duplicated in every Haskell-compiled object.

So plan B: just define _POSIX_PTHREAD_SEMANTICS in dirUtils.c where it
is needed to make readdir_r work.  I've checked, and readdir_r is the
only function we use that is affected by _POSIX_PTHREAD_SEMANTICS.  If
we ever use any more of these functions, then we'll have to be careful
to give them a C wrapper.

21 years ago[project @ 2002-07-04 12:57:39 by simonmar]
simonmar [Thu, 4 Jul 2002 12:57:39 +0000 (12:57 +0000)]
[project @ 2002-07-04 12:57:39 by simonmar]
We have to define _POSIX_PTHREAD_SEMANTICS on Solaris in order to get
the right versions of the _r functions.  Otherwise we get
Solaris-specific versions of these, which puts a spanner in the works.

Fixes problems with getDirectoryContents on Solaris in the HEAD.

21 years ago[project @ 2002-07-04 10:42:32 by simonmar]
simonmar [Thu, 4 Jul 2002 10:42:32 +0000 (10:42 +0000)]
[project @ 2002-07-04 10:42:32 by simonmar]
Explicitly import the Prelude, and add a few types signatures to make
these modules produce better documentation.

21 years ago[project @ 2002-07-03 13:05:28 by simonmar]
simonmar [Wed, 3 Jul 2002 13:05:28 +0000 (13:05 +0000)]
[project @ 2002-07-03 13:05:28 by simonmar]
Export dynApply and dynApp

21 years ago[project @ 2002-07-02 13:13:36 by simonmar]
simonmar [Tue, 2 Jul 2002 13:13:37 +0000 (13:13 +0000)]
[project @ 2002-07-02 13:13:36 by simonmar]
Add descriptions to the top level of each package documentation

21 years ago[project @ 2002-07-02 10:34:52 by simonmar]
simonmar [Tue, 2 Jul 2002 10:34:52 +0000 (10:34 +0000)]
[project @ 2002-07-02 10:34:52 by simonmar]
Point the punters to the online report at haskell.org until the
documentation for the Prelude is up to scratch.

21 years ago[project @ 2002-07-02 10:33:23 by simonmar]
simonmar [Tue, 2 Jul 2002 10:33:23 +0000 (10:33 +0000)]
[project @ 2002-07-02 10:33:23 by simonmar]
Documentation for getProgName.

21 years ago[project @ 2002-07-02 10:31:35 by simonmar]
simonmar [Tue, 2 Jul 2002 10:31:35 +0000 (10:31 +0000)]
[project @ 2002-07-02 10:31:35 by simonmar]
Documentation for system

21 years ago[project @ 2002-07-02 10:28:54 by simonmar]
simonmar [Tue, 2 Jul 2002 10:28:54 +0000 (10:28 +0000)]
[project @ 2002-07-02 10:28:54 by simonmar]
Documentation for hSetBinaryMode

21 years ago[project @ 2002-07-01 18:50:54 by sof]
sof [Mon, 1 Jul 2002 18:50:54 +0000 (18:50 +0000)]
[project @ 2002-07-01 18:50:54 by sof]
closesocket() is stdcall-based

21 years ago[project @ 2002-07-01 11:37:35 by simonmar]
simonmar [Mon, 1 Jul 2002 11:37:35 +0000 (11:37 +0000)]
[project @ 2002-07-01 11:37:35 by simonmar]
Replace divInt# with a version which doesn't suffer from overflow
problems (thanks to Dylan Thurston for the code).

21 years ago[project @ 2002-06-27 17:19:01 by sof]
sof [Thu, 27 Jun 2002 17:19:01 +0000 (17:19 +0000)]
[project @ 2002-06-27 17:19:01 by sof]
theStdGen: initialise it via mkStdRNG (as was done in <= 5.02)

21 years ago[project @ 2002-06-27 15:38:58 by simonmar]
simonmar [Thu, 27 Jun 2002 15:38:58 +0000 (15:38 +0000)]
[project @ 2002-06-27 15:38:58 by simonmar]
Finally fix foreign export and foreign import "wrapper" so that
exceptions raised during the call are handled properly rather than
causing the RTS to bomb out.

In particular, calling System.exitWith in a foreign export will cause
the program to terminate cleanly with the desired exit code.  All
other exceptions are printed on stderr (and the program is
terminated).

Details:

GHC.TopHandler.runMain is now called runIO, and has type IO a -> IO a
(previously it had type IO a -> IO (), but that's not general enough
for a foreign export).  The stubs for foreign export and forein import
"wrapper" now automatically wrap the computation in runIO or its dual,
runNonIO.  It turned out to be simpler to do it this way than to do
the wrapping in Haskell land (plain foreign exports don't have
wrappers in Haskell).

21 years ago[project @ 2002-06-27 13:40:37 by stolz]
stolz [Thu, 27 Jun 2002 13:40:37 +0000 (13:40 +0000)]
[project @ 2002-06-27 13:40:37 by stolz]
- forkProcess[Prim] wrapper
- document forkProcess[Prim] & labelThread

21 years ago[project @ 2002-06-26 08:18:45 by stolz]
stolz [Wed, 26 Jun 2002 08:18:45 +0000 (08:18 +0000)]
[project @ 2002-06-26 08:18:45 by stolz]
- Make TSO "stable" again: The thread label was changing the size of the
   TSO if you were building a debugging-RTS, leading to binary
   incompatibility. Now we map TSOs to strings using Hash.c.

- API change for labelThread: Label arbitrary threads.

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

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

21 years ago[project @ 2002-06-21 14:00:32 by simonmar]
simonmar [Fri, 21 Jun 2002 14:00:32 +0000 (14:00 +0000)]
[project @ 2002-06-21 14:00:32 by simonmar]
Mention the package name in the Haddock title

21 years ago[project @ 2002-06-21 09:12:37 by simonmar]
simonmar [Fri, 21 Jun 2002 09:12:37 +0000 (09:12 +0000)]
[project @ 2002-06-21 09:12:37 by simonmar]
Andy Gill asked me to remove his license to keep things simple.

21 years ago[project @ 2002-06-20 16:12:58 by simonmar]
simonmar [Thu, 20 Jun 2002 16:12:58 +0000 (16:12 +0000)]
[project @ 2002-06-20 16:12:58 by simonmar]
Haddock stuff has moved to ../../mk/package.mk

21 years ago[project @ 2002-06-20 16:11:45 by simonmar]
simonmar [Thu, 20 Jun 2002 16:11:45 +0000 (16:11 +0000)]
[project @ 2002-06-20 16:11:45 by simonmar]
use $(includedir) and INSTALL_INCLUDES rather than overriding $(datadir)

21 years ago[project @ 2002-06-20 14:56:11 by malcolm]
malcolm [Thu, 20 Jun 2002 14:56:11 +0000 (14:56 +0000)]
[project @ 2002-06-20 14:56:11 by malcolm]
Remove spurious comma in export list.

21 years ago[project @ 2002-06-20 13:54:40 by simonmar]
simonmar [Thu, 20 Jun 2002 13:54:40 +0000 (13:54 +0000)]
[project @ 2002-06-20 13:54:40 by simonmar]
Add license from Andy Gill's HTML library

21 years ago[project @ 2002-06-19 14:33:24 by simonmar]
simonmar [Wed, 19 Jun 2002 14:33:24 +0000 (14:33 +0000)]
[project @ 2002-06-19 14:33:24 by simonmar]
Remove this hack.  Happy 1.13 is now required to build GHC.

21 years ago[project @ 2002-06-18 13:58:22 by simonpj]
simonpj [Tue, 18 Jun 2002 13:58:23 +0000 (13:58 +0000)]
[project @ 2002-06-18 13:58:22 by simonpj]
---------------------------------------
    Rehash the handling of SeqOp
---------------------------------------

See the comments in the commentary (Cunning Prelude Code).

* Expunge SeqOp altogether

* Add GHC.Base.lazy :: a -> a
  to GHC.Base

* Add GHC.Base.lazy
  to basicTypes/MkId.  The idea is that this defn will over-ride
  the info from GHC.Base.hi, thereby hiding strictness and
  unfolding

* Make stranal/WorkWrap do a "manual inlining" for GHC.Base.lazy
  This happens nicely after the strictness analyser has run.

* Expunge the SeqOp/ParOp magic in CorePrep

* Expunge the RULE for seq in PrelRules

* Change the defns of pseq/par in GHC.Conc to:

{-# INLINE pseq  #-}
        pseq :: a -> b -> b
        pseq  x y = x `seq` lazy y

        {-# INLINE par  #-}
        par :: a -> b -> b
        par  x y = case (par# x) of { _ -> lazy y }

21 years ago[project @ 2002-06-18 13:01:43 by simonmar]
simonmar [Tue, 18 Jun 2002 13:01:43 +0000 (13:01 +0000)]
[project @ 2002-06-18 13:01:43 by simonmar]
Fix bug in the implementation of hGetLine: on finding the EOF when we
have a partial line in our hands, we weren't resetting the state of
the buffer to empty, so the same partial line would be returned for
each subsequent call to hGetLine.

21 years ago[project @ 2002-06-18 09:31:05 by simonpj]
simonpj [Tue, 18 Jun 2002 09:31:06 +0000 (09:31 +0000)]
[project @ 2002-06-18 09:31:05 by simonpj]
--------------------------
Deal with NaN and Infinity
--------------------------

This commit arranges that

* GHC.Real exports infinity   :: Rational = 1 :% 0
notANumber :: Rational = 0 :% 0

* GHC.Float.fromRat converts these Rational non-numbers into
  their Float/Double equivalents

As a result, arith015/arith016 start to work again.  We can
read NaN and Infinity into Float/Double.

21 years ago[project @ 2002-06-14 08:17:08 by simonpj]
simonpj [Fri, 14 Jun 2002 08:17:08 +0000 (08:17 +0000)]
[project @ 2002-06-14 08:17:08 by simonpj]
Add comment

21 years ago[project @ 2002-06-13 23:26:55 by sof]
sof [Thu, 13 Jun 2002 23:26:56 +0000 (23:26 +0000)]
[project @ 2002-06-13 23:26:55 by sof]
Provide STRefs over both lazy and strict ST monads as,

   Data.STRef.Lazy
   Data.STRef.Strict
   Data.STRef      <-- the strict version.

i.e., mirror how the strict and lazy ST monads are
organised over in Control.Monad.ST

21 years ago[project @ 2002-06-13 10:41:31 by simonmar]
simonmar [Thu, 13 Jun 2002 10:41:31 +0000 (10:41 +0000)]
[project @ 2002-06-13 10:41:31 by simonmar]
Some extra docs, from Jon Fairbairn

21 years ago[project @ 2002-06-11 10:53:03 by simonmar]
simonmar [Tue, 11 Jun 2002 10:53:03 +0000 (10:53 +0000)]
[project @ 2002-06-11 10:53:03 by simonmar]
typo in email address (noticed by J?n Fairbairn, thanks J?n).

21 years ago[project @ 2002-06-09 14:20:06 by panne]
panne [Sun, 9 Jun 2002 14:20:06 +0000 (14:20 +0000)]
[project @ 2002-06-09 14:20:06 by panne]
Use :%, not % for Inf/NaN, the latter would immediately lead to a
runtime error. Note that

   isInfinite (read "Infinity" :: Float)

or

   isInfinite (fromRational (1 :% 0))

still don't work, because fromRational is not OK for those cases.

21 years ago[project @ 2002-06-08 14:14:08 by panne]
panne [Sat, 8 Jun 2002 14:14:08 +0000 (14:14 +0000)]
[project @ 2002-06-08 14:14:08 by panne]
Minor doc formatting improvement

21 years ago[project @ 2002-06-08 13:11:27 by panne]
panne [Sat, 8 Jun 2002 13:11:27 +0000 (13:11 +0000)]
[project @ 2002-06-08 13:11:27 by panne]
Install HSbase3.o, too.
NOTE: This is untested, but probably corrects the previous commit.

21 years ago[project @ 2002-06-06 16:03:16 by simonpj]
simonpj [Thu, 6 Jun 2002 16:03:17 +0000 (16:03 +0000)]
[project @ 2002-06-06 16:03:16 by simonpj]
Read instance for Array, plus some documentation

21 years ago[project @ 2002-06-06 16:01:37 by simonpj]
simonpj [Thu, 6 Jun 2002 16:01:37 +0000 (16:01 +0000)]
[project @ 2002-06-06 16:01:37 by simonpj]
Win32 comment

21 years ago[project @ 2002-06-05 14:08:24 by simonpj]
simonpj [Wed, 5 Jun 2002 14:08:25 +0000 (14:08 +0000)]
[project @ 2002-06-05 14:08:24 by simonpj]
------------------------------------------------
Fix the (new) lexer, and make the derived read
and show code work according to the new H98 report
------------------------------------------------

The new lexer, based on Koen's cunning parser (Text.ParserCombinators.ReadP)
wasn't quite right.  It's all very cool now.

In particular:

* The H98 "lex" function should return the exact string parsed, and it
now does, aided by the new combinator ReadP.gather.

* As a result the Text.Read.Lex Lexeme type is much simpler than before
    data Lexeme
      = Char   Char -- Quotes removed,
      | String String --  escapes interpreted
      | Punc   String  -- Punctuation, eg "(", "::"
      | Ident  String -- Haskell identifiers, e.g. foo, baz
      | Symbol String -- Haskell symbols, e.g. >>, %
      | Int Integer
      | Rat Rational
      | EOF
     deriving (Eq,Show)

* Multi-character punctuation, like "::" was getting lexed as a Symbol,
but it should be a Punc.

* Parsing numbers wasn't quite right.  "1..n" got it confused because it
got committed to a decimal point and then found a second '.'.

* The new H98 spec for Show is there, which ignores associativity.

21 years ago[project @ 2002-06-05 11:30:38 by ross]
ross [Wed, 5 Jun 2002 11:30:38 +0000 (11:30 +0000)]
[project @ 2002-06-05 11:30:38 by ross]
documentation adjustments.

21 years ago[project @ 2002-06-04 19:13:31 by sof]
sof [Tue, 4 Jun 2002 19:13:31 +0000 (19:13 +0000)]
[project @ 2002-06-04 19:13:31 by sof]
Adjust to three-way split of HSbase + accommodate cygwin.

21 years ago[project @ 2002-06-04 19:12:53 by sof]
sof [Tue, 4 Jun 2002 19:12:53 +0000 (19:12 +0000)]
[project @ 2002-06-04 19:12:53 by sof]
PEi(x86) backends: The addition of Parsec to libraries/ put us over
the limit for splitting HSbase into two parts (at least I couldn't
find a good paritioning), we now need three. Fun and games.

21 years ago[project @ 2002-06-03 13:19:37 by simonmar]
simonmar [Mon, 3 Jun 2002 13:19:37 +0000 (13:19 +0000)]
[project @ 2002-06-03 13:19:37 by simonmar]
IO.hGetContents ==> System.IO.hGetContents (in docs)

21 years ago[project @ 2002-05-31 12:22:33 by panne]
panne [Fri, 31 May 2002 12:22:35 +0000 (12:22 +0000)]
[project @ 2002-05-31 12:22:33 by panne]
Moved Parsec to its new home

21 years ago[project @ 2002-05-31 09:43:04 by panne]
panne [Fri, 31 May 2002 09:43:04 +0000 (09:43 +0000)]
[project @ 2002-05-31 09:43:04 by panne]
Added Show instance for FunPtr

22 years ago[project @ 2002-05-29 13:28:36 by simonmar]
simonmar [Wed, 29 May 2002 13:28:36 +0000 (13:28 +0000)]
[project @ 2002-05-29 13:28:36 by simonmar]
doc fixes

22 years ago[project @ 2002-05-29 13:27:04 by simonmar]
simonmar [Wed, 29 May 2002 13:27:04 +0000 (13:27 +0000)]
[project @ 2002-05-29 13:27:04 by simonmar]
fix case of markup inside bird tracks.

22 years ago[project @ 2002-05-29 13:22:10 by simonmar]
simonmar [Wed, 29 May 2002 13:24:04 +0000 (13:24 +0000)]
[project @ 2002-05-29 13:22:10 by simonmar]
Don't need to escape single quotes

22 years ago[project @ 2002-05-28 19:22:04 by sof]
sof [Tue, 28 May 2002 19:22:04 +0000 (19:22 +0000)]
[project @ 2002-05-28 19:22:04 by sof]
make it compile

22 years ago[project @ 2002-05-28 16:33:46 by simonmar]
simonmar [Tue, 28 May 2002 16:33:47 +0000 (16:33 +0000)]
[project @ 2002-05-28 16:33:46 by simonmar]
Documentation for the overloaded array interfaces (currently a bit
flaky due to a couple of shortcomings in Haddock).

22 years ago[project @ 2002-05-28 16:32:45 by simonmar]
simonmar [Tue, 28 May 2002 16:33:02 +0000 (16:33 +0000)]
[project @ 2002-05-28 16:32:45 by simonmar]
Documentation

22 years ago[project @ 2002-05-28 15:04:54 by simonmar]
simonmar [Tue, 28 May 2002 15:04:54 +0000 (15:04 +0000)]
[project @ 2002-05-28 15:04:54 by simonmar]
Documentation

22 years ago[project @ 2002-05-28 14:06:01 by simonmar]
simonmar [Tue, 28 May 2002 14:06:01 +0000 (14:06 +0000)]
[project @ 2002-05-28 14:06:01 by simonmar]
Add (minimal) documentation

22 years ago[project @ 2002-05-28 14:04:18 by simonmar]
simonmar [Tue, 28 May 2002 14:04:18 +0000 (14:04 +0000)]
[project @ 2002-05-28 14:04:18 by simonmar]
Fix mistake in 'evaluate'.

22 years ago[project @ 2002-05-28 12:03:06 by simonmar]
simonmar [Tue, 28 May 2002 12:03:06 +0000 (12:03 +0000)]
[project @ 2002-05-28 12:03:06 by simonmar]
Document

22 years ago[project @ 2002-05-28 12:00:17 by simonmar]
simonmar [Tue, 28 May 2002 12:00:17 +0000 (12:00 +0000)]
[project @ 2002-05-28 12:00:17 by simonmar]
typo

22 years ago[project @ 2002-05-28 11:43:59 by simonmar]
simonmar [Tue, 28 May 2002 11:43:59 +0000 (11:43 +0000)]
[project @ 2002-05-28 11:43:59 by simonmar]
Export list tweak

22 years ago[project @ 2002-05-28 11:41:29 by simonmar]
simonmar [Tue, 28 May 2002 11:41:29 +0000 (11:41 +0000)]
[project @ 2002-05-28 11:41:29 by simonmar]
Documentation tweaks

22 years ago[project @ 2002-05-28 11:21:56 by simonmar]
simonmar [Tue, 28 May 2002 11:21:56 +0000 (11:21 +0000)]
[project @ 2002-05-28 11:21:56 by simonmar]
tweak documentationa

22 years ago[project @ 2002-05-28 11:21:03 by simonmar]
simonmar [Tue, 28 May 2002 11:21:03 +0000 (11:21 +0000)]
[project @ 2002-05-28 11:21:03 by simonmar]
Add documentation

22 years ago[project @ 2002-05-28 10:38:50 by simonmar]
simonmar [Tue, 28 May 2002 10:38:50 +0000 (10:38 +0000)]
[project @ 2002-05-28 10:38:50 by simonmar]
Document Text.Regex.Posix and Text.Regex

22 years ago[project @ 2002-05-27 15:57:01 by simonmar]
simonmar [Mon, 27 May 2002 15:57:01 +0000 (15:57 +0000)]
[project @ 2002-05-27 15:57:01 by simonmar]
Documentation, such as it is

22 years ago[project @ 2002-05-27 15:43:44 by simonmar]
simonmar [Mon, 27 May 2002 15:43:44 +0000 (15:43 +0000)]
[project @ 2002-05-27 15:43:44 by simonmar]
Documentation for System.Mem.Weak

22 years ago[project @ 2002-05-27 14:54:27 by simonmar]
simonmar [Mon, 27 May 2002 14:54:27 +0000 (14:54 +0000)]
[project @ 2002-05-27 14:54:27 by simonmar]
Add documentation

22 years ago[project @ 2002-05-27 14:36:51 by simonmar]
simonmar [Mon, 27 May 2002 14:36:51 +0000 (14:36 +0000)]
[project @ 2002-05-27 14:36:51 by simonmar]
Documentation

22 years ago[project @ 2002-05-27 14:31:06 by simonmar]
simonmar [Mon, 27 May 2002 14:31:08 +0000 (14:31 +0000)]
[project @ 2002-05-27 14:31:06 by simonmar]
Document Control.Exception and Data.Dynamic

22 years ago[project @ 2002-05-27 14:30:49 by simonmar]
simonmar [Mon, 27 May 2002 14:30:49 +0000 (14:30 +0000)]
[project @ 2002-05-27 14:30:49 by simonmar]
Define __HADDOCK__ for .hs files as well as .lhs files.

22 years ago[project @ 2002-05-16 11:39:36 by simonmar]
simonmar [Thu, 16 May 2002 11:39:36 +0000 (11:39 +0000)]
[project @ 2002-05-16 11:39:36 by simonmar]
Happy -g currently requires GlaExts, which means it can't be used
inside fptools/libraries (GlaExts comes from lang, and lang isn't
built yet).  So, until I've fixed Happy and everyone has built &
installed the vnew version...

   Add a dummy GlaExts module.

This is a TEMPORARY HACK to keep Happy happy during the switchover
period, and will go away before the release.

22 years ago[project @ 2002-05-15 12:17:18 by simonmar]
simonmar [Wed, 15 May 2002 12:17:18 +0000 (12:17 +0000)]
[project @ 2002-05-15 12:17:18 by simonmar]
Fix comment to avoid confusing Haddock

22 years ago[project @ 2002-05-15 12:16:11 by simonmar]
simonmar [Wed, 15 May 2002 12:16:11 +0000 (12:16 +0000)]
[project @ 2002-05-15 12:16:11 by simonmar]
Fix non-Haddockish comments

22 years ago[project @ 2002-05-15 09:00:00 by chak]
chak [Wed, 15 May 2002 09:00:00 +0000 (09:00 +0000)]
[project @ 2002-05-15 09:00:00 by chak]
* Added the options `-ffi' and `-fffi', which switch on FFI support
  (`-fglasgow-exts' implies `-fffi').

  NB: Strictly speaking `-fffi' is the correct name; however, `-ffi' is
      supported as an alternative spelling.

* `-fglasgow-exts' no longer enables the `with' keyword for implicit
  parameters.  To use `with' as a keyword, the additional option `-fwith' has
  to be supplied.  (Note that SimonM recently enabled the use of `let' instead
  of `with'.)

  NB: This might prompt some makefile tweaks in libraries or regression tests.

* Renamed `Foreign.Marshal.Utils.withObject' to `Foreign.Marshal.Utils.with'
  as required by the FFI Addendum.  (The old name is still available, but
  marked as deprecated.)

* Added `realloc' to `Foreign.Marshal.Alloc' (tracking RC4 of the FFI
  Addendum).

Docu
~~~~
* Added `-ffi', `-fffi', and `-fwith' to the flag reference and the section
  describing options for Glasgow extensions

* Removed most of the FFI section in the User's Guide in favour of a reference
  to the Addendum plus a brief description of additional features supported by
  GHC.

  NB: The old material is still available at fptools/docs/, I merely removed
  the reference in the User's Guide.

22 years ago[project @ 2002-05-14 21:08:59 by sof]
sof [Tue, 14 May 2002 21:08:59 +0000 (21:08 +0000)]
[project @ 2002-05-14 21:08:59 by sof]
lexNumberBase: support negative exponents

22 years ago[project @ 2002-05-14 13:22:37 by simonmar]
simonmar [Tue, 14 May 2002 13:22:37 +0000 (13:22 +0000)]
[project @ 2002-05-14 13:22:37 by simonmar]
Replace qsort by mergesort, which is more reliable performance-wise.
From: Ian Lynagh <igloo@earth.li>

22 years ago[project @ 2002-05-11 08:59:08 by panne]
panne [Sat, 11 May 2002 08:59:08 +0000 (08:59 +0000)]
[project @ 2002-05-11 08:59:08 by panne]
Now that Int is exported, it might be a good idea to import it
first...

22 years ago[project @ 2002-05-10 16:18:28 by simonmar]
simonmar [Fri, 10 May 2002 16:18:29 +0000 (16:18 +0000)]
[project @ 2002-05-10 16:18:28 by simonmar]
More documentation

22 years ago[project @ 2002-05-10 15:41:33 by simonmar]
simonmar [Fri, 10 May 2002 15:41:34 +0000 (15:41 +0000)]
[project @ 2002-05-10 15:41:33 by simonmar]
More documentation

22 years ago[project @ 2002-05-10 14:52:00 by simonmar]
simonmar [Fri, 10 May 2002 14:52:00 +0000 (14:52 +0000)]
[project @ 2002-05-10 14:52:00 by simonmar]
give slurpFile, hGetBuf and hPutBuf reasonable behaviour for
zero-sized files

22 years ago[project @ 2002-05-10 14:51:14 by simonmar]
simonmar [Fri, 10 May 2002 14:51:14 +0000 (14:51 +0000)]
[project @ 2002-05-10 14:51:14 by simonmar]
Add some documentation for IORef

22 years ago[project @ 2002-05-10 13:42:07 by simonmar]
simonmar [Fri, 10 May 2002 13:42:07 +0000 (13:42 +0000)]
[project @ 2002-05-10 13:42:07 by simonmar]
Add documentation

22 years ago[project @ 2002-05-10 13:17:27 by simonmar]
simonmar [Fri, 10 May 2002 13:17:29 +0000 (13:17 +0000)]
[project @ 2002-05-10 13:17:27 by simonmar]
- Add documentation to Control.Concurrent and friends
- Other documentation tweaks

22 years ago[project @ 2002-05-10 13:16:55 by simonmar]
simonmar [Fri, 10 May 2002 13:16:55 +0000 (13:16 +0000)]
[project @ 2002-05-10 13:16:55 by simonmar]
Add GHC/PrimopWrappers to EXTRA_SRCS

22 years ago[project @ 2002-05-10 08:58:34 by simonmar]
simonmar [Fri, 10 May 2002 08:58:35 +0000 (08:58 +0000)]
[project @ 2002-05-10 08:58:34 by simonmar]
Convert these files from .lhs to .hs, and give them proper headers to
match the style used in the rest of the libraries.

22 years ago[project @ 2002-05-10 08:38:53 by simonmar]
simonmar [Fri, 10 May 2002 08:38:53 +0000 (08:38 +0000)]
[project @ 2002-05-10 08:38:53 by simonmar]
import GHC.Ptr to get the representation of Ptr.  This module should
really be split into compiler-dep and indep. parts.

22 years ago[project @ 2002-05-10 08:35:05 by simonmar]
simonmar [Fri, 10 May 2002 08:35:05 +0000 (08:35 +0000)]
[project @ 2002-05-10 08:35:05 by simonmar]
import GHC.Ptr instead of Foreign.Ptr (I fixed the latter to export
Ptr abstractly yesterday).

22 years ago[project @ 2002-05-09 13:28:30 by simonmar]
simonmar [Thu, 9 May 2002 13:28:30 +0000 (13:28 +0000)]
[project @ 2002-05-09 13:28:30 by simonmar]
Add a type signature for getClockTime

22 years ago[project @ 2002-05-09 13:16:29 by simonmar]
simonmar [Thu, 9 May 2002 13:16:33 +0000 (13:16 +0000)]
[project @ 2002-05-09 13:16:29 by simonmar]
Rename libraries/core to libraries/base in the module headers.

22 years ago[project @ 2002-05-09 13:15:07 by simonmar]
simonmar [Thu, 9 May 2002 13:15:08 +0000 (13:15 +0000)]
[project @ 2002-05-09 13:15:07 by simonmar]
Various tweaks needed to get the source processed cleanly with Haddock.