ghc-base.git
20 years ago[project @ 2004-03-22 14:48:56 by malcolm]
malcolm [Mon, 22 Mar 2004 14:48:57 +0000 (14:48 +0000)]
[project @ 2004-03-22 14:48:56 by malcolm]
For nhc98, at last include the Typeable macros which define the instance decls.

20 years ago[project @ 2004-03-21 19:07:00 by ralf]
ralf [Sun, 21 Mar 2004 19:07:01 +0000 (19:07 +0000)]
[project @ 2004-03-21 19:07:00 by ralf]
Implemented renaming for Data.Typeable according to
http://www.haskell.org//pipermail/libraries/2004-March/001846.html

20 years ago[project @ 2004-03-20 18:26:40 by ross]
ross [Sat, 20 Mar 2004 18:26:41 +0000 (18:26 +0000)]
[project @ 2004-03-20 18:26:40 by ross]
change instances of Typeable to macros

20 years ago[project @ 2004-03-20 13:31:06 by ross]
ross [Sat, 20 Mar 2004 13:31:06 +0000 (13:31 +0000)]
[project @ 2004-03-20 13:31:06 by ross]
revert a couple of tcnames for greater consistency (fixes dynamic001).

20 years ago[project @ 2004-03-20 12:42:27 by ross]
ross [Sat, 20 Mar 2004 12:42:28 +0000 (12:42 +0000)]
[project @ 2004-03-20 12:42:27 by ross]
Comments (and deleted some of the blank lines Ralf is so fond of).

20 years ago[project @ 2004-03-20 02:37:18 by ross]
ross [Sat, 20 Mar 2004 02:37:18 +0000 (02:37 +0000)]
[project @ 2004-03-20 02:37:18 by ross]
clean up the TypeableN stuff a bit: GHC uses overlapping instances;
everyone else uses explicit instances using provided defaults.
Macros paper over the difference.

20 years ago[project @ 2004-03-19 20:31:50 by panne]
panne [Fri, 19 Mar 2004 20:31:50 +0000 (20:31 +0000)]
[project @ 2004-03-19 20:31:50 by panne]
HACK: Unbreak the Hugs build again, Typeable left the realm of Haskell98 one
more time. I slowly doubt if this module belongs to the "base" package at
all... If it stays there, things should better be tested with Hugs and nh98
before committing, the latter build probably breaks, too.

20 years ago[project @ 2004-03-19 11:00:02 by simonmar]
simonmar [Fri, 19 Mar 2004 11:00:02 +0000 (11:00 +0000)]
[project @ 2004-03-19 11:00:02 by simonmar]
- fix one performance bug: we weren't updating the bucket count when
  expanding the hash table, so too many expansions were happening.

- slight improvement to hashString: if we use foldl rather than foldr,
  the resulting code uses an accumulating parameter and runs in linear
  stack space.

20 years ago[project @ 2004-03-19 10:45:42 by simonmar]
simonmar [Fri, 19 Mar 2004 10:45:42 +0000 (10:45 +0000)]
[project @ 2004-03-19 10:45:42 by simonmar]
Bugfix for insert (from the missing-prime class of bugs)

20 years ago[project @ 2004-03-17 23:22:51 by ralf]
ralf [Wed, 17 Mar 2004 23:22:51 +0000 (23:22 +0000)]
[project @ 2004-03-17 23:22:51 by ralf]
Installed genneric instances for Typeable1, ..., Typeable7.
Updated Data/Generics/Instances.hs accordingly.

20 years ago[project @ 2004-03-16 15:19:36 by ralf]
ralf [Tue, 16 Mar 2004 15:19:36 +0000 (15:19 +0000)]
[project @ 2004-03-16 15:19:36 by ralf]
I thought that I removed that one.

20 years ago[project @ 2004-03-16 13:46:07 by ralf]
ralf [Tue, 16 Mar 2004 13:46:08 +0000 (13:46 +0000)]
[project @ 2004-03-16 13:46:07 by ralf]
Some more refactoring and renaming to be aligned with the boilerplate II
paper. Removed the weird module Generics.Reify, the code of which still
lives in testsuite (see example reify.hs). One will also need to cvs upd
the compiler which again changed slightly with regard to deriving Data.

20 years ago[project @ 2004-03-16 10:04:17 by ross]
ross [Tue, 16 Mar 2004 10:04:17 +0000 (10:04 +0000)]
[project @ 2004-03-16 10:04:17 by ross]
comment typo

20 years ago[project @ 2004-03-08 10:22:09 by malcolm]
malcolm [Mon, 8 Mar 2004 10:22:09 +0000 (10:22 +0000)]
[project @ 2004-03-08 10:22:09 by malcolm]
nhc98 (built by ghc/solaris) needs more stack to make System.Time.

20 years ago[project @ 2004-03-05 18:00:35 by malcolm]
malcolm [Fri, 5 Mar 2004 18:00:36 +0000 (18:00 +0000)]
[project @ 2004-03-05 18:00:35 by malcolm]
Plumb System.Time and System.CPUTime into nhc98 libraries build.

20 years ago[project @ 2004-03-03 19:25:41 by malcolm]
malcolm [Wed, 3 Mar 2004 19:25:41 +0000 (19:25 +0000)]
[project @ 2004-03-03 19:25:41 by malcolm]
#ifdefs for nhc98.

20 years ago[project @ 2004-03-03 11:47:42 by ross]
ross [Wed, 3 Mar 2004 11:47:42 +0000 (11:47 +0000)]
[project @ 2004-03-03 11:47:42 by ross]
withObject -> with

20 years ago[project @ 2004-03-02 22:23:59 by ralf]
ralf [Tue, 2 Mar 2004 22:24:00 +0000 (22:24 +0000)]
[project @ 2004-03-02 22:23:59 by ralf]
Once more revised the Data class.
You will need to cvs upd the compiler as well.

20 years ago[project @ 2004-03-01 17:25:46 by malcolm]
malcolm [Mon, 1 Mar 2004 17:25:46 +0000 (17:25 +0000)]
[project @ 2004-03-01 17:25:46 by malcolm]
nhc98: ensure the Either type is identical with Prelude.Either.

20 years ago[project @ 2004-03-01 14:47:30 by simonmar]
simonmar [Mon, 1 Mar 2004 14:47:30 +0000 (14:47 +0000)]
[project @ 2004-03-01 14:47:30 by simonmar]
small improvements from Ian Lynagh

20 years ago[project @ 2004-02-28 15:35:28 by ralf]
ralf [Sat, 28 Feb 2004 15:35:28 +0000 (15:35 +0000)]
[project @ 2004-02-28 15:35:28 by ralf]
Code that uses deriving (... Data ...)
will require an updated *compiler* to be in line with
these new boilerplate modules.

Overall changes:
- Revised datatype/constructor representations.
- Enhanced API for construction and observation.
- Added many Data instances for prelude-like types.

20 years ago[project @ 2004-02-27 14:48:16 by malcolm]
malcolm [Fri, 27 Feb 2004 14:48:16 +0000 (14:48 +0000)]
[project @ 2004-02-27 14:48:16 by malcolm]
To make it compile with nhc98, #ifdef out the Typeable[12] instances.

20 years ago[project @ 2004-02-27 10:27:41 by simonmar]
simonmar [Fri, 27 Feb 2004 10:27:41 +0000 (10:27 +0000)]
[project @ 2004-02-27 10:27:41 by simonmar]
Update the comments in here after changes in rev. 1.17.

20 years ago[project @ 2004-02-26 18:34:14 by ross]
ross [Thu, 26 Feb 2004 18:34:14 +0000 (18:34 +0000)]
[project @ 2004-02-26 18:34:14 by ross]
instances for Ordering and tuples (up to 5)

20 years ago[project @ 2004-02-26 18:06:51 by ralf]
ralf [Thu, 26 Feb 2004 18:06:52 +0000 (18:06 +0000)]
[project @ 2004-02-26 18:06:51 by ralf]
Simplified kind-polymorphic boilerplate stuff.

20 years ago[project @ 2004-02-25 21:20:04 by ralf]
ralf [Wed, 25 Feb 2004 21:20:04 +0000 (21:20 +0000)]
[project @ 2004-02-25 21:20:04 by ralf]
Follow-up fix triggered by yesterday's major scrap your boilerplate commit.

20 years ago[project @ 2004-02-25 20:10:18 by ralf]
ralf [Wed, 25 Feb 2004 20:10:18 +0000 (20:10 +0000)]
[project @ 2004-02-25 20:10:18 by ralf]
Thanks to Sven Panne.
The module should be back to Haskell 98
or at least should not break hugs anymore.

20 years ago[project @ 2004-02-25 19:21:20 by krasimir]
krasimir [Wed, 25 Feb 2004 19:21:21 +0000 (19:21 +0000)]
[project @ 2004-02-25 19:21:20 by krasimir]
Added finalizeForeignPtr function

20 years ago[project @ 2004-02-24 19:51:11 by ralf]
ralf [Tue, 24 Feb 2004 19:51:12 +0000 (19:51 +0000)]
[project @ 2004-02-24 19:51:11 by ralf]
Twin traversal is now based on accumulating maps.
Added polymorphic type extension for type constructors.

20 years ago[project @ 2004-02-24 19:49:58 by ralf]
ralf [Tue, 24 Feb 2004 19:49:58 +0000 (19:49 +0000)]
[project @ 2004-02-24 19:49:58 by ralf]
Proliferation of unsafeCoerce in Data.Typeable stopped. (There is now
just one cast0 which generalises on all previous forms: cast, castss,
castarr.) Started classes Typeable1/2 for unary/binary type constructors.
Added instances for lists, products, sums, functions, maybies.

20 years ago[project @ 2004-02-24 12:39:12 by simonmar]
simonmar [Tue, 24 Feb 2004 12:39:12 +0000 (12:39 +0000)]
[project @ 2004-02-24 12:39:12 by simonmar]
New version of translate for mingw32, which correctly (allegedly)
reverses the command-line translation done by the standard C runtime
on Windows.

20 years ago[project @ 2004-02-20 17:46:38 by panne]
panne [Fri, 20 Feb 2004 17:46:38 +0000 (17:46 +0000)]
[project @ 2004-02-20 17:46:38 by panne]
Hugs has hSetBinaryMode, hPutBuf, and hGetBuf now.

20 years ago[project @ 2004-02-20 10:55:09 by stolz]
stolz [Fri, 20 Feb 2004 10:55:09 +0000 (10:55 +0000)]
[project @ 2004-02-20 10:55:09 by stolz]
wibble (replace helper function with fromEnum)

20 years ago[project @ 2004-02-19 10:42:50 by stolz]
stolz [Thu, 19 Feb 2004 10:42:50 +0000 (10:42 +0000)]
[project @ 2004-02-19 10:42:50 by stolz]
Preserve group/other bits in setPermissions.

Closes: SF 899533 Directory.setPermissions bug

https://sourceforge.net/tracker/index.php?func=detail&aid=899533&group_id=8032&atid=108032

20 years ago[project @ 2004-02-18 15:07:03 by simonmar]
simonmar [Wed, 18 Feb 2004 15:07:04 +0000 (15:07 +0000)]
[project @ 2004-02-18 15:07:03 by simonmar]
stat() needs to be wrapped too

20 years ago[project @ 2004-02-17 11:59:16 by simonmar]
simonmar [Tue, 17 Feb 2004 11:59:17 +0000 (11:59 +0000)]
[project @ 2004-02-17 11:59:16 by simonmar]
Also need to wrap fstat().

20 years ago[project @ 2004-02-17 11:22:22 by simonmar]
simonmar [Tue, 17 Feb 2004 11:22:23 +0000 (11:22 +0000)]
[project @ 2004-02-17 11:22:22 by simonmar]
Use C wrappers for lseek() and open().  On Linux, these functions are
macro'd to different versions when large file support is on, so to
make the libraries compilable with the NCG we need to use C wrappers
for these functions.

20 years ago[project @ 2004-02-17 11:21:04 by simonmar]
simonmar [Tue, 17 Feb 2004 11:21:04 +0000 (11:21 +0000)]
[project @ 2004-02-17 11:21:04 by simonmar]
Remove unused argument from commitBuffer

20 years ago[project @ 2004-02-17 11:16:36 by malcolm]
malcolm [Tue, 17 Feb 2004 11:16:36 +0000 (11:16 +0000)]
[project @ 2004-02-17 11:16:36 by malcolm]
Exclude "config.h" inclusion for nhc98 as well as Hugs.

20 years ago[project @ 2004-02-16 11:08:58 by ross]
ross [Mon, 16 Feb 2004 11:08:58 +0000 (11:08 +0000)]
[project @ 2004-02-16 11:08:58 by ross]
adjust imports for portability

20 years ago[project @ 2004-02-15 13:24:42 by ralf]
ralf [Sun, 15 Feb 2004 13:24:43 +0000 (13:24 +0000)]
[project @ 2004-02-15 13:24:42 by ralf]
Another commit of boilerplate refactoring
related to twin traversal and type introspection.
Clean-up. After some reflection the list
processing module was not regarded suitable
for the library (see List.hs removed).

20 years ago[project @ 2004-02-15 13:04:47 by krasimir]
krasimir [Sun, 15 Feb 2004 13:04:47 +0000 (13:04 +0000)]
[project @ 2004-02-15 13:04:47 by krasimir]
Added support for tracers

20 years ago[project @ 2004-02-14 18:18:46 by ralf]
ralf [Sat, 14 Feb 2004 18:18:48 +0000 (18:18 +0000)]
[project @ 2004-02-14 18:18:46 by ralf]
Refactored the approach to Twin Traversal.
Added some illustrative treatment of polymorphic lists.

20 years ago[project @ 2004-02-13 17:46:32 by ross]
ross [Fri, 13 Feb 2004 17:46:32 +0000 (17:46 +0000)]
[project @ 2004-02-13 17:46:32 by ross]
make import Foreign.C.String GHC-only to unbreak Hugs build

20 years ago[project @ 2004-02-13 15:17:38 by ross]
ross [Fri, 13 Feb 2004 15:17:40 +0000 (15:17 +0000)]
[project @ 2004-02-13 15:17:38 by ross]
array doc updates

20 years ago[project @ 2004-02-13 12:13:00 by simonmar]
simonmar [Fri, 13 Feb 2004 12:13:01 +0000 (12:13 +0000)]
[project @ 2004-02-13 12:13:00 by simonmar]
uncatched -> uncaught

20 years ago[project @ 2004-02-12 22:35:25 by krasimir]
krasimir [Thu, 12 Feb 2004 22:35:25 +0000 (22:35 +0000)]
[project @ 2004-02-12 22:35:25 by krasimir]
The UncatchedExceptionHandler is defined only for GHC

20 years ago[project @ 2004-02-12 21:23:48 by krasimir]
krasimir [Thu, 12 Feb 2004 21:23:49 +0000 (21:23 +0000)]
[project @ 2004-02-12 21:23:48 by krasimir]
Added interface to set/get handler for uncatched exceptions.
The handler is invoked from the GHC.TopHandler.topHandler or
Control.Concurrent.childHandler when an exception is catched.

20 years ago[project @ 2004-02-12 14:55:55 by simonpj]
simonpj [Thu, 12 Feb 2004 14:55:55 +0000 (14:55 +0000)]
[project @ 2004-02-12 14:55:55 by simonpj]
Comments

20 years ago[project @ 2004-02-12 14:55:31 by simonpj]
simonpj [Thu, 12 Feb 2004 14:55:31 +0000 (14:55 +0000)]
[project @ 2004-02-12 14:55:31 by simonpj]
Documentation for floatToDigits

20 years ago[project @ 2004-02-12 14:55:05 by simonpj]
simonpj [Thu, 12 Feb 2004 14:55:05 +0000 (14:55 +0000)]
[project @ 2004-02-12 14:55:05 by simonpj]
Explicit for-alls for Monad (so desugaring knows which order to give type args)

20 years ago[project @ 2004-02-12 14:54:19 by simonpj]
simonpj [Thu, 12 Feb 2004 14:54:19 +0000 (14:54 +0000)]
[project @ 2004-02-12 14:54:19 by simonpj]
Document non-std behaviour of array

20 years ago[project @ 2004-02-11 14:01:06 by simonmar]
simonmar [Wed, 11 Feb 2004 14:01:06 +0000 (14:01 +0000)]
[project @ 2004-02-11 14:01:06 by simonmar]
Put double quotes around the -#include flag, so that command-lines can
be cut-n-pasted.

20 years ago[project @ 2004-02-05 18:55:47 by ross]
ross [Thu, 5 Feb 2004 18:55:48 +0000 (18:55 +0000)]
[project @ 2004-02-05 18:55:47 by ross]
moved the monad transformer libraries into a separate mtl package.

20 years ago[project @ 2004-02-05 11:58:21 by malcolm]
malcolm [Thu, 5 Feb 2004 11:58:21 +0000 (11:58 +0000)]
[project @ 2004-02-05 11:58:21 by malcolm]
Fix definition of 'partition' to match the (non-)strictness mandated by
the Haskell'98 Libraries Report version.

20 years ago[project @ 2004-02-05 11:45:59 by ross]
ross [Thu, 5 Feb 2004 11:45:59 +0000 (11:45 +0000)]
[project @ 2004-02-05 11:45:59 by ross]
Hugs only: use the configure-set variable INLINE_ONLY instead of
`extern inline' (which works for gcc but not C99 compilers).

20 years ago[project @ 2004-02-04 17:13:53 by ross]
ross [Wed, 4 Feb 2004 17:13:53 +0000 (17:13 +0000)]
[project @ 2004-02-04 17:13:53 by ross]
plug a warning

20 years ago[project @ 2004-02-04 17:00:00 by malcolm]
malcolm [Wed, 4 Feb 2004 17:00:00 +0000 (17:00 +0000)]
[project @ 2004-02-04 17:00:00 by malcolm]
Excluding 'unfoldTreeM' and 'unfoldForestM' is overkill for nhc98.
A simpler workaround for the type inference bug is just to omit one
type signature from the mutually recursive pair.

20 years ago[project @ 2004-02-04 10:52:28 by malcolm]
malcolm [Wed, 4 Feb 2004 10:52:28 +0000 (10:52 +0000)]
[project @ 2004-02-04 10:52:28 by malcolm]
Plumb in Data.Queue for nhc98.

20 years ago[project @ 2004-02-04 10:51:18 by malcolm]
malcolm [Wed, 4 Feb 2004 10:51:18 +0000 (10:51 +0000)]
[project @ 2004-02-04 10:51:18 by malcolm]
Exclude functions 'unfoldTreeM' and 'unfoldForestM' in nhc98.
For some unknown reason they result in a type inference error:
"No default for Prelude.Monad"

20 years ago[project @ 2004-02-02 11:54:32 by ross]
ross [Mon, 2 Feb 2004 11:54:32 +0000 (11:54 +0000)]
[project @ 2004-02-02 11:54:32 by ross]
add some unfolds (pure, monadic depth-first and monadic breadth-first)

20 years ago[project @ 2004-01-28 10:04:25 by simonpj]
simonpj [Wed, 28 Jan 2004 10:04:25 +0000 (10:04 +0000)]
[project @ 2004-01-28 10:04:25 by simonpj]
---------------------------------------
    Fix the WinME/98/95 double-backslash bug
  ---------------------------------------

Merge to stable branch, at least
once we are sure it's right

Backslashes should not be escaped in command-line arguments for rawSystem,
on Win32.  This only actually causes failures on WinME/98/95, and we can't
test that since we don't have it.  But this fix seems right regardless.

There are extensive new comments in libraries/base/System/Cmd.hs which
describe the issues.

20 years ago[project @ 2004-01-27 09:52:37 by ross]
ross [Tue, 27 Jan 2004 09:52:37 +0000 (09:52 +0000)]
[project @ 2004-01-27 09:52:37 by ross]
generalize the type of minusFM

20 years ago[project @ 2004-01-26 11:24:54 by simonmar]
simonmar [Mon, 26 Jan 2004 11:24:54 +0000 (11:24 +0000)]
[project @ 2004-01-26 11:24:54 by simonmar]
- fix bug(s) in emptySampleVar
- add isEmptySampleVar, with similar caveats on its use as isEmptyMVar

20 years ago[project @ 2004-01-23 13:35:16 by ross]
ross [Fri, 23 Jan 2004 13:35:16 +0000 (13:35 +0000)]
[project @ 2004-01-23 13:35:16 by ross]
add a Functor instance for FiniteMap

20 years ago[project @ 2004-01-21 17:28:47 by simonmar]
simonmar [Wed, 21 Jan 2004 17:28:47 +0000 (17:28 +0000)]
[project @ 2004-01-21 17:28:47 by simonmar]
__hscore_set_errno() should return void, not int.

20 years ago[project @ 2004-01-20 13:57:25 by ross]
ross [Tue, 20 Jan 2004 13:57:25 +0000 (13:57 +0000)]
[project @ 2004-01-20 13:57:25 by ross]
use fields in Node

20 years ago[project @ 2004-01-14 14:58:57 by ralf]
ralf [Wed, 14 Jan 2004 14:58:57 +0000 (14:58 +0000)]
[project @ 2004-01-14 14:58:57 by ralf]
Added gdepth to determine depth of a term.

20 years ago[project @ 2004-01-14 14:19:41 by ross]
ross [Wed, 14 Jan 2004 14:19:43 +0000 (14:19 +0000)]
[project @ 2004-01-14 14:19:41 by ross]
(Hugs only) add hIsTerminalDevice, hGetEcho and hSetEcho.

20 years ago[project @ 2004-01-14 11:16:10 by malcolm]
malcolm [Wed, 14 Jan 2004 11:16:10 +0000 (11:16 +0000)]
[project @ 2004-01-14 11:16:10 by malcolm]
Unbreak for nhc98 after recent errno changes.

20 years ago[project @ 2004-01-10 12:53:42 by panne]
panne [Sat, 10 Jan 2004 12:53:43 +0000 (12:53 +0000)]
[project @ 2004-01-10 12:53:42 by panne]
Haddock fixes

20 years ago[project @ 2004-01-08 15:27:29 by simonmar]
simonmar [Thu, 8 Jan 2004 15:27:29 +0000 (15:27 +0000)]
[project @ 2004-01-08 15:27:29 by simonmar]
update threadDelay docs: delay is rounded up.

20 years ago[project @ 2004-01-07 12:43:50 by simonmar]
simonmar [Wed, 7 Jan 2004 12:43:50 +0000 (12:43 +0000)]
[project @ 2004-01-07 12:43:50 by simonmar]
Mention that threadDelay rounds its argument down to a multiple of 0.02s.

20 years ago[project @ 2004-01-06 14:01:52 by ross]
ross [Tue, 6 Jan 2004 14:01:52 +0000 (14:01 +0000)]
[project @ 2004-01-06 14:01:52 by ross]
fix for Hugs

20 years ago[project @ 2004-01-06 12:40:00 by simonmar]
simonmar [Tue, 6 Jan 2004 12:40:01 +0000 (12:40 +0000)]
[project @ 2004-01-06 12:40:00 by simonmar]
Fix, and simplify, the getting/setting of errno in Foreign.C.Error.

It was previously wrong: although we called a C function to get the
location of errno (correct), we cached the result in a CAF which was
wrong because the location is OS thread dependent.  We must call the C
function every time we need the value of errno.

I also simplified things by making the getter/setter functions inlined
in the same way as the other C fragments in this library, and putting
them in HsBase.h.

MERGE TO STABLE

20 years ago[project @ 2004-01-06 10:31:05 by ross]
ross [Tue, 6 Jan 2004 10:31:05 +0000 (10:31 +0000)]
[project @ 2004-01-06 10:31:05 by ross]
new Queue type, using Chris Okasaki's cute 3-list implementation.

20 years ago[project @ 2004-01-05 17:44:30 by ross]
ross [Mon, 5 Jan 2004 17:44:30 +0000 (17:44 +0000)]
[project @ 2004-01-05 17:44:30 by ross]
Make runST(U)Array work with Hugs.  This includes explicitly using
unsafeFreezeSTArray rather than unsafeFreeze, to avoid relying on rules.

20 years ago[project @ 2004-01-05 16:47:09 by ross]
ross [Mon, 5 Jan 2004 16:47:09 +0000 (16:47 +0000)]
[project @ 2004-01-05 16:47:09 by ross]
Change the drawing of trees so that long labels work better.
The new drawings are narrower but a little longer than before.

20 years ago[project @ 2004-01-05 16:03:34 by simonmar]
simonmar [Mon, 5 Jan 2004 16:03:34 +0000 (16:03 +0000)]
[project @ 2004-01-05 16:03:34 by simonmar]
Add runSTArray and runSTUArray, as suggested by John Meacham.
runSTUArray showed up an interesting deficiency in the type system
(see comments for details).

20 years ago[project @ 2004-01-05 10:07:52 by ross]
ross [Mon, 5 Jan 2004 10:07:52 +0000 (10:07 +0000)]
[project @ 2004-01-05 10:07:52 by ross]
doc tidy-ups

20 years ago[project @ 2004-01-05 10:07:25 by ross]
ross [Mon, 5 Jan 2004 10:07:25 +0000 (10:07 +0000)]
[project @ 2004-01-05 10:07:25 by ross]
doc tweak

20 years ago[project @ 2004-01-02 19:03:14 by panne]
panne [Fri, 2 Jan 2004 19:03:14 +0000 (19:03 +0000)]
[project @ 2004-01-02 19:03:14 by panne]
Annual copyright update

20 years ago[project @ 2003-12-29 17:16:42 by panne]
panne [Mon, 29 Dec 2003 17:16:42 +0000 (17:16 +0000)]
[project @ 2003-12-29 17:16:42 by panne]
Updated my email address

20 years ago[project @ 2003-12-23 13:58:17 by simonmar]
simonmar [Tue, 23 Dec 2003 13:58:18 +0000 (13:58 +0000)]
[project @ 2003-12-23 13:58:17 by simonmar]
- Fix up mingw build after changes to hGetBuf etc.
  I don't think that hGetBufNonBlocking works correctly on Windows,
  because there doesn't seem to be a non-blocking read primitive.  I
  haven't tested it, however.

- Clean up Unix versions of the low-level read/write functions in
  Handle.hs.  Now that these aren't used on Windows, they can be
  made simpler.

20 years ago[project @ 2003-12-23 12:35:34 by simonmar]
simonmar [Tue, 23 Dec 2003 12:35:34 +0000 (12:35 +0000)]
[project @ 2003-12-23 12:35:34 by simonmar]
Fix yet another bug in hGetBuf/hGetBufNonBlocking

20 years ago[project @ 2003-12-22 12:41:52 by simonmar]
simonmar [Mon, 22 Dec 2003 12:41:52 +0000 (12:41 +0000)]
[project @ 2003-12-22 12:41:52 by simonmar]
add fillReadBufferWithoutBlocking (required for fixed
hGetBufNonBlocking implementation in IO.hs rev. 1.20)

20 years ago[project @ 2003-12-22 12:23:35 by simonmar]
simonmar [Mon, 22 Dec 2003 12:23:35 +0000 (12:23 +0000)]
[project @ 2003-12-22 12:23:35 by simonmar]
- Fix hGetBuf & hGetBufNonBlocking.  There were various bugs in these
  two functions, so I did a complete rewrite (again).  They are quite
  hard to get right it seems, so I've put together a test case
  (shortly to be added to the test suite).

- Change to the semantics of hWaitForInput: when given a negative
  time argument, this function will wait indefinitely for input to
  arrive.  It will wait in a thread-friendly way, unlike when the
  time argument is positive.  The docs now admit that hWaitForInput
  is buggy when given a positive time value.

  hWaitForInput h (-1) is now the approved way to wait for input
  before calling hGetBufNonBlocking.

MERGE TO STABLE (hGetBuf is broken in 6.2).

20 years ago[project @ 2003-12-22 10:56:42 by simonmar]
simonmar [Mon, 22 Dec 2003 10:56:42 +0000 (10:56 +0000)]
[project @ 2003-12-22 10:56:42 by simonmar]
performGC should really do a major GC - this was broken at some point.

20 years ago[project @ 2003-12-17 17:15:12 by sof]
sof [Wed, 17 Dec 2003 17:15:12 +0000 (17:15 +0000)]
[project @ 2003-12-17 17:15:12 by sof]
merge rev. 1.13.2.1

20 years ago[project @ 2003-12-17 17:13:47 by sof]
sof [Wed, 17 Dec 2003 17:13:47 +0000 (17:13 +0000)]
[project @ 2003-12-17 17:13:47 by sof]
merge rev 1.48.2.4

20 years ago[project @ 2003-12-16 16:54:42 by simonmar]
simonmar [Tue, 16 Dec 2003 16:54:42 +0000 (16:54 +0000)]
[project @ 2003-12-16 16:54:42 by simonmar]
Add Show instance for Set

20 years ago[project @ 2003-12-16 16:54:12 by simonmar]
simonmar [Tue, 16 Dec 2003 16:54:12 +0000 (16:54 +0000)]
[project @ 2003-12-16 16:54:12 by simonmar]
Add Show instance for FiniteMap

20 years ago[project @ 2003-12-15 17:59:05 by panne]
panne [Mon, 15 Dec 2003 17:59:05 +0000 (17:59 +0000)]
[project @ 2003-12-15 17:59:05 by panne]
Fixed #ifdefs for Cygwin

20 years ago[project @ 2003-12-12 18:29:26 by sof]
sof [Fri, 12 Dec 2003 18:29:26 +0000 (18:29 +0000)]
[project @ 2003-12-12 18:29:26 by sof]
showIntAtBase:
  - implementation uses quotRem [where the remainder isn't always
    non-negative -- ditto for divMod, so there's no trivial fix],
    negative bases aren't supported; catch this.
  - separate argument validity checking from actual digitisation.

20 years ago[project @ 2003-12-06 17:48:49 by ralf]
ralf [Sat, 6 Dec 2003 17:48:49 +0000 (17:48 +0000)]
[project @ 2003-12-06 17:48:49 by ralf]
Added Data instances for triples and quadruples.

20 years ago[project @ 2003-12-04 18:25:51 by panne]
panne [Thu, 4 Dec 2003 18:25:51 +0000 (18:25 +0000)]
[project @ 2003-12-04 18:25:51 by panne]
Synched #ifdefs, but only 90% sure if I got it right...

20 years ago[project @ 2003-11-28 11:08:54 by simonmar]
simonmar [Fri, 28 Nov 2003 11:08:54 +0000 (11:08 +0000)]
[project @ 2003-11-28 11:08:54 by simonmar]
Doc wibble

20 years ago[project @ 2003-11-26 10:00:09 by simonmar]
simonmar [Wed, 26 Nov 2003 10:00:09 +0000 (10:00 +0000)]
[project @ 2003-11-26 10:00:09 by simonmar]
oops, revert accidental commit

20 years ago[project @ 2003-11-26 09:55:22 by simonmar]
simonmar [Wed, 26 Nov 2003 09:55:26 +0000 (09:55 +0000)]
[project @ 2003-11-26 09:55:22 by simonmar]
Declare some libraries to be "stable".

20 years ago[project @ 2003-11-23 22:19:35 by ralf]
ralf [Sun, 23 Nov 2003 22:19:35 +0000 (22:19 +0000)]
[project @ 2003-11-23 22:19:35 by ralf]
Added the missing Data instance for Either.