packages/old-time.git
15 years ago[project @ 2004-06-15 21:07:23 by panne]
panne [Tue, 15 Jun 2004 21:07:23 +0000 (21:07 +0000)] 
[project @ 2004-06-15 21:07:23 by panne]
Yet another fix for the fact that CTime is not an instance of Integral anymore,

15 years ago[project @ 2004-06-15 10:29:12 by malcolm]
malcolm [Tue, 15 Jun 2004 10:29:12 +0000 (10:29 +0000)] 
[project @ 2004-06-15 10:29:12 by malcolm]
Note dependency of Foreign.C on Foreign.C.*

15 years ago[project @ 2004-06-15 10:20:05 by malcolm]
malcolm [Tue, 15 Jun 2004 10:20:05 +0000 (10:20 +0000)] 
[project @ 2004-06-15 10:20:05 by malcolm]
Add missing instances of Data.Bits.Bits for nhc98.

15 years ago[project @ 2004-06-14 13:28:52 by malcolm]
malcolm [Mon, 14 Jun 2004 13:28:52 +0000 (13:28 +0000)] 
[project @ 2004-06-14 13:28:52 by malcolm]
Solaris/nhc98 fixes: HAVE_TZNAME rather than HAVE_TM_ZONE, and need a
"time.h" specification on every foreign import.

15 years ago[project @ 2004-06-13 21:03:46 by panne]
panne [Sun, 13 Jun 2004 21:03:47 +0000 (21:03 +0000)] 
[project @ 2004-06-13 21:03:46 by panne]
Changes related to arithmetic types:

* Renamed macros NUMERIC_FOO to ARITHMETIC_FOO to match C99-speak

* ARITHMETIC_TYPEs now have a Real instance, otherwise they are quite useless.
  Note that this differs from the FFI spec, but the spec should very probably
  changed in this respect.

* Some changes to fix the wrong assumption that CTime/CClock are integral types,
  C99 in fact guarantees only that they are arithmetic types. This has been
  accomplished by using

     realToInteger = round . realToFrac :: Real a => a -> Integer

  instead of fromIntegral for CTime/CClock. I'm not sure if we could do better,
  going via Double seems to be overkill, but I couldn't think of a better way.
  GHC could e.g. use RULES here. Improvements welcome.

15 years ago[project @ 2004-06-13 20:26:03 by panne]
panne [Sun, 13 Jun 2004 20:26:03 +0000 (20:26 +0000)] 
[project @ 2004-06-13 20:26:03 by panne]
Added missing dependencies of Haskell files to header files they include

15 years ago[project @ 2004-06-13 17:16:40 by panne]
panne [Sun, 13 Jun 2004 17:16:40 +0000 (17:16 +0000)] 
[project @ 2004-06-13 17:16:40 by panne]
The FFI report does not mention that CClock and CTime have instances for
Bounded, Real, Integral, and Bits.

15 years ago[project @ 2004-06-12 12:13:12 by panne]
panne [Sat, 12 Jun 2004 12:13:12 +0000 (12:13 +0000)] 
[project @ 2004-06-12 12:13:12 by panne]
timezone fix by Antony Courtney

15 years ago[project @ 2004-06-02 16:17:20 by simonmar]
simonmar [Wed, 2 Jun 2004 16:17:20 +0000 (16:17 +0000)] 
[project @ 2004-06-02 16:17:20 by simonmar]
Add a comment about fdGetMode, which doesn't work properly on Windows

15 years ago[project @ 2004-06-02 16:09:58 by simonmar]
simonmar [Wed, 2 Jun 2004 16:09:58 +0000 (16:09 +0000)] 
[project @ 2004-06-02 16:09:58 by simonmar]
__hscore_PrelHandle_{send,recv}: make these mingw32-only

15 years ago[project @ 2004-06-02 16:07:17 by simonmar]
simonmar [Wed, 2 Jun 2004 16:07:17 +0000 (16:07 +0000)] 
[project @ 2004-06-02 16:07:17 by simonmar]
- Win32: when using the threaded RTS, bypass the Async IO stuff and
  just make blocking calls to read()/write().

  This gives a significant performance boost to programs doing lots of
  multithreaded I/O: in fact, a test program I have which does I/O
  over 500 pipes simultaneously goes twice as fast with this change,
  and is even faster than the non-threaded RTS (Windows only - Unix
  changes are in the pipeline too).

- openFd: take an extra parameter to specify socketness of the file
  descriptor rather than assuming that all streams are sockets.  Some
  streams (eg. pipes) aren't sockets.

15 years ago[project @ 2004-06-02 16:00:02 by simonmar]
simonmar [Wed, 2 Jun 2004 16:00:02 +0000 (16:00 +0000)] 
[project @ 2004-06-02 16:00:02 by simonmar]
Add __hscore_PrelHandle_{send,recv}

15 years ago[project @ 2004-06-02 12:35:11 by simonmar]
simonmar [Wed, 2 Jun 2004 12:35:11 +0000 (12:35 +0000)] 
[project @ 2004-06-02 12:35:11 by simonmar]
The lock arrays are too small on Windows, leading to buffer overruns
and crashes when a program opens too many files.

The problem is that on Windows, we shouldn't use FD_SETSIZE to get the
max number of file descriptors: this is set to 64 in the mingw
includes.  The real maximum is 2048 (according to the crt sources), so
we now hardwire that in.

Also, put in a runtime check that we aren't overruning this array.

MERGE TO STABLE

15 years ago[project @ 2004-05-27 11:32:03 by simonpj]
simonpj [Thu, 27 May 2004 11:32:03 +0000 (11:32 +0000)] 
[project @ 2004-05-27 11:32:03 by simonpj]
Inline the default method for newArray; big perf boost; comments with the pragma

15 years ago[project @ 2004-05-25 09:27:16 by simonmar]
simonmar [Tue, 25 May 2004 09:27:16 +0000 (09:27 +0000)] 
[project @ 2004-05-25 09:27:16 by simonmar]
Small performance hack in maxBound::Word.

15 years ago[project @ 2004-05-25 09:11:57 by simonpj]
simonpj [Tue, 25 May 2004 09:11:57 +0000 (09:11 +0000)] 
[project @ 2004-05-25 09:11:57 by simonpj]
Remove spaces around the "%" when showing ratios.

This is not absolutely strictly according to the H98 report,
but it was suggested by Doug McIlroy

   According to the standard prelude, a list of Ratios prints like
   this: [1 % 1,1 % 2,1 % 3,1 % 4], which strongly suggests the
   grouping [1 % (1,1) % (2,1) % (3,1) % 4].

   Even standing alone outside of lists, the style is at odds with
   mathematical custom.  When did you last see 1/2 written as 1 / 2?

15 years ago[project @ 2004-05-10 09:22:59 by malcolm]
malcolm [Mon, 10 May 2004 09:22:59 +0000 (09:22 +0000)] 
[project @ 2004-05-10 09:22:59 by malcolm]
RawSystem inclusion belongs inside the __GLASGOW_HASKELL__ ifdef.

15 years ago[project @ 2004-05-09 01:36:32 by dons]
dons [Sun, 9 May 2004 01:36:32 +0000 (01:36 +0000)] 
[project @ 2004-05-09 01:36:32 by dons]
When .hc bootstrapping, don't build the Concurrent_stubs

15 years ago[project @ 2004-05-06 12:27:47 by wolfgang]
wolfgang [Thu, 6 May 2004 12:27:47 +0000 (12:27 +0000)] 
[project @ 2004-05-06 12:27:47 by wolfgang]
Make the documentation and the error messages match the way the threaded
RTS is used nowadays
(the -threaded flag to ghc rather than ./configure --enable-threaded-rts)

MERGE TO STABLE

15 years ago[project @ 2004-05-06 08:44:52 by simonmar]
simonmar [Thu, 6 May 2004 08:44:52 +0000 (08:44 +0000)] 
[project @ 2004-05-06 08:44:52 by simonmar]
Move the definition of rawSystem into a separate file which we
#include in the places it is needed.  This is slightly better than
copying the code, since we now need it in three places
(ghc/utils/runghc is the 3rd).

15 years ago[project @ 2004-04-23 18:13:07 by ross]
ross [Fri, 23 Apr 2004 18:13:07 +0000 (18:13 +0000)] 
[project @ 2004-04-23 18:13:07 by ross]
Hugs: use the same version of fixIO as GHC

15 years ago[project @ 2004-04-20 15:52:18 by simonmar]
simonmar [Tue, 20 Apr 2004 15:52:18 +0000 (15:52 +0000)] 
[project @ 2004-04-20 15:52:18 by simonmar]
New version of fixIO which does eager blackholing.

15 years ago[project @ 2004-04-20 15:49:58 by simonmar]
simonmar [Tue, 20 Apr 2004 15:49:58 +0000 (15:49 +0000)] 
[project @ 2004-04-20 15:49:58 by simonmar]
- comments on INLINability of unsafePerformIO

- change unsafeInterleaveIO from NOINLINE to INLINE(!)  we believe
  this is safe.  Interestingly, there's now a good reason to use
  unsafeInterleaveIO.

15 years ago[project @ 2004-04-20 09:18:46 by simonmar]
simonmar [Tue, 20 Apr 2004 09:18:46 +0000 (09:18 +0000)] 
[project @ 2004-04-20 09:18:46 by simonmar]
Fix a file descriptor leak in openFile: if openFd fails, then we
weren't closing the newly created descriptor.

15 years ago[project @ 2004-04-14 09:01:18 by simonmar]
simonmar [Wed, 14 Apr 2004 09:01:18 +0000 (09:01 +0000)] 
[project @ 2004-04-14 09:01:18 by simonmar]
indent: don't use tab characters

15 years ago[project @ 2004-04-06 08:54:02 by panne]
panne [Tue, 6 Apr 2004 08:54:02 +0000 (08:54 +0000)] 
[project @ 2004-04-06 08:54:02 by panne]
Tiny fix in Haddock markup

15 years ago[project @ 2004-04-05 08:21:39 by simonpj]
simonpj [Mon, 5 Apr 2004 08:21:39 +0000 (08:21 +0000)] 
[project @ 2004-04-05 08:21:39 by simonpj]
Use consistent capitalisation

15 years ago[project @ 2004-03-30 17:54:28 by ross]
ross [Tue, 30 Mar 2004 17:54:28 +0000 (17:54 +0000)] 
[project @ 2004-03-30 17:54:28 by ross]
fix a warning

15 years ago[project @ 2004-03-30 17:02:59 by ross]
ross [Tue, 30 Mar 2004 17:02:59 +0000 (17:02 +0000)] 
[project @ 2004-03-30 17:02:59 by ross]
track Data/Generics/* twists

15 years ago[project @ 2004-03-30 15:31:35 by ralf]
ralf [Tue, 30 Mar 2004 15:31:35 +0000 (15:31 +0000)] 
[project @ 2004-03-30 15:31:35 by ralf]
We decided that we want the gunfold primitive back.
This avoids some hassle with bottoms and strict datatypes.
The compiler now also derives gunfold.

15 years ago[project @ 2004-03-30 07:05:46 by panne]
panne [Tue, 30 Mar 2004 07:05:46 +0000 (07:05 +0000)] 
[project @ 2004-03-30 07:05:46 by panne]
Added withArrayLen and withArrayLen0

15 years ago[project @ 2004-03-27 14:15:24 by panne]
panne [Sat, 27 Mar 2004 14:15:24 +0000 (14:15 +0000)] 
[project @ 2004-03-27 14:15:24 by panne]
This package is named "base", not "core".

15 years ago[project @ 2004-03-27 13:18:12 by panne]
panne [Sat, 27 Mar 2004 13:18:12 +0000 (13:18 +0000)] 
[project @ 2004-03-27 13:18:12 by panne]
* Merged Martin Sj\e-A?gren's patch for multiline descriptions\e-b
* Nuked some TABs in favour of space + some small reformatting
* Updated copyright

15 years ago[project @ 2004-03-24 16:59:51 by simonmar]
simonmar [Wed, 24 Mar 2004 16:59:51 +0000 (16:59 +0000)] 
[project @ 2004-03-24 16:59:51 by simonmar]
Add caveat about finalizers (don't refer to Handles from finalizers).

15 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.

15 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

15 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

15 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).

15 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).

15 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.

15 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.

15 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.

15 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)

15 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.

15 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.

15 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.

15 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

15 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.

15 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.

15 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.

15 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

15 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.

15 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.

15 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

15 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.

15 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.

15 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.

15 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)

15 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.

15 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.

15 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.

15 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

15 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.

15 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.

15 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.

15 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.

15 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)

15 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

15 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

15 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().

15 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.

15 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

15 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.

15 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

15 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).

15 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

15 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.

15 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

15 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

15 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

15 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

15 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.

15 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

15 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

15 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)

15 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

15 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.

15 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.

15 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.

15 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).

15 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

15 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.

15 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.

15 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"

15 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)

15 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.

15 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

15 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

15 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

15 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.