ghc-base.git
19 years ago[project @ 2004-07-26 17:22:41 by ross]
ross [Mon, 26 Jul 2004 17:22:43 +0000 (17:22 +0000)]
[project @ 2004-07-26 17:22:41 by ross]
a few odd docs

19 years ago[project @ 2004-07-26 13:26:41 by ross]
ross [Mon, 26 Jul 2004 13:26:46 +0000 (13:26 +0000)]
[project @ 2004-07-26 13:26:41 by ross]
docs only

19 years ago[project @ 2004-07-23 15:31:59 by ross]
ross [Fri, 23 Jul 2004 15:32:00 +0000 (15:32 +0000)]
[project @ 2004-07-23 15:31:59 by ross]
To make Text.Regex.Posix work with Hugs, move cbits/regex/regex.h under
include, where Hugs can find it.

19 years ago[project @ 2004-07-23 15:26:06 by ross]
ross [Fri, 23 Jul 2004 15:26:06 +0000 (15:26 +0000)]
[project @ 2004-07-23 15:26:06 by ross]
tweak comment

19 years ago[project @ 2004-07-23 13:24:04 by ross]
ross [Fri, 23 Jul 2004 13:24:05 +0000 (13:24 +0000)]
[project @ 2004-07-23 13:24:04 by ross]
docs only

19 years ago[project @ 2004-07-23 11:34:31 by ross]
ross [Fri, 23 Jul 2004 11:34:33 +0000 (11:34 +0000)]
[project @ 2004-07-23 11:34:31 by ross]
docs only

19 years ago[project @ 2004-07-11 09:20:07 by panne]
panne [Sun, 11 Jul 2004 09:20:07 +0000 (09:20 +0000)]
[project @ 2004-07-11 09:20:07 by panne]
Use "flat" names for the type constructors of Ptr/StablePtr/IORef. This might be
debatable, but at least it is consistent with the rest of the types.

19 years ago[project @ 2004-07-01 18:05:00 by panne]
panne [Thu, 1 Jul 2004 18:05:00 +0000 (18:05 +0000)]
[project @ 2004-07-01 18:05:00 by panne]
Increase heap size and stack size when building via hbc

19 years ago[project @ 2004-07-01 14:49:11 by malcolm]
malcolm [Thu, 1 Jul 2004 14:49:11 +0000 (14:49 +0000)]
[project @ 2004-07-01 14:49:11 by malcolm]
Heap-profiling build bootstrapped with nhc98 requires more heap.

19 years ago[project @ 2004-07-01 13:25:09 by malcolm]
malcolm [Thu, 1 Jul 2004 13:25:09 +0000 (13:25 +0000)]
[project @ 2004-07-01 13:25:09 by malcolm]
Revert from common heap/stack options to per-package options.  Since
hbc's runtime requirements are on occasion so much larger ghc/nhc98,
break out EXTRA_HBC_FLAGS as a separate variable.

19 years ago[project @ 2004-06-29 19:10:47 by panne]
panne [Tue, 29 Jun 2004 19:10:47 +0000 (19:10 +0000)]
[project @ 2004-06-29 19:10:47 by panne]
Centralized compiler differences for requesting additional heap/stack in a
single place. Only tested for bootstrapping via hbc, and this needs 170M heap
for Language/Haskell/Parser.hs. There seems to be a "small" space leak here...
:-]

19 years ago[project @ 2004-06-25 10:42:48 by ross]
ross [Fri, 25 Jun 2004 10:42:48 +0000 (10:42 +0000)]
[project @ 2004-06-25 10:42:48 by ross]
more Ptr/FunPtr documentation

19 years ago[project @ 2004-06-23 09:47:47 by simonmar]
simonmar [Wed, 23 Jun 2004 09:47:47 +0000 (09:47 +0000)]
[project @ 2004-06-23 09:47:47 by simonmar]
Add documentation from the FFI spec.

19 years ago[project @ 2004-06-22 12:45:55 by ross]
ross [Tue, 22 Jun 2004 12:45:55 +0000 (12:45 +0000)]
[project @ 2004-06-22 12:45:55 by ross]
Change the interface (but not the implementation) to match the FFI spec:

* added charIsRepresentable, *CAString and *CWString

* currently (and in violation of the spec), fooCString = fooCAString

* The WString versions use UTF-16 under Windows and UTF-32 elsewhere
  (valid only if the compiler defines __STDC_ISO_10646__).

19 years ago[project @ 2004-06-16 09:50:25 by malcolm]
malcolm [Wed, 16 Jun 2004 09:50:25 +0000 (09:50 +0000)]
[project @ 2004-06-16 09:50:25 by malcolm]
Typo.

19 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,

19 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.*

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

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

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

19 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

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

19 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

19 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

19 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

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

19 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}

19 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

19 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

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

19 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?

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

20 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

20 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

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

20 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

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

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

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

20 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

20 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

20 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

20 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

20 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

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

20 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

20 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".

20 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

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

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)