simonm [Tue, 2 Feb 1999 14:17:45 +0000 (14:17 +0000)]
[project @ 1999-02-02 14:17:45 by simonm]
Fix NO_FINALISER test.
simonm [Tue, 2 Feb 1999 14:17:05 +0000 (14:17 +0000)]
[project @ 1999-02-02 14:17:05 by simonm]
Fix untested Weak changes yesterday.
sof [Tue, 2 Feb 1999 14:16:29 +0000 (14:16 +0000)]
[project @ 1999-02-02 14:16:28 by sof]
- define and use *_OPTS for the various sgmltools.
- acknowledge the existence of INSTALL_LIB_SCRIPTS.
sof [Tue, 2 Feb 1999 14:14:13 +0000 (14:14 +0000)]
[project @ 1999-02-02 14:14:11 by sof]
Updated and re-org'ed the library parts.
sof [Tue, 2 Feb 1999 13:26:31 +0000 (13:26 +0000)]
[project @ 1999-02-02 13:26:31 by sof]
- fixed Enum.fromEnumTo{Word32} to comply with H98 once again.
sof [Tue, 2 Feb 1999 13:24:52 +0000 (13:24 +0000)]
[project @ 1999-02-02 13:24:52 by sof]
- renamed boundsOfByteArray to boundsOfMutableByteArray.
(partly for consistency, partly to create a new Top 10 entry on
the list of long function names exported from lib/.)
- moved sizeofByteArray over to ByteArray
sof [Tue, 2 Feb 1999 13:21:59 +0000 (13:21 +0000)]
[project @ 1999-02-02 13:21:59 by sof]
- Added:
newByteArray :: Ix ix => (ix,ix) -> ST s (ByteArray ix)
boundsOfByteArray :: Ix ix => ByteArray ix -> (ix,ix)
sizeofByteArray :: Ix ix => ByteArray ix -> Int
plus defined Eq over ByteArrays.
sof [Tue, 2 Feb 1999 13:18:57 +0000 (13:18 +0000)]
[project @ 1999-02-02 13:18:57 by sof]
Moved boundsOfByteArray out into exts/
simonm [Tue, 2 Feb 1999 12:37:14 +0000 (12:37 +0000)]
[project @ 1999-02-02 12:37:14 by simonm]
Update for specialised closures (THUNK_n_p etc.)
simonm [Tue, 2 Feb 1999 12:36:09 +0000 (12:36 +0000)]
[project @ 1999-02-02 12:36:09 by simonm]
Print total memory in use as part of -ghc-timing output.
simonm [Mon, 1 Feb 1999 18:06:31 +0000 (18:06 +0000)]
[project @ 1999-02-01 18:06:31 by simonm]
- Add finalise#
- deRefWeak# becomes an inline primop.
simonm [Mon, 1 Feb 1999 18:05:35 +0000 (18:05 +0000)]
[project @ 1999-02-01 18:05:30 by simonm]
- Add finalise#
- Add mkWeakNoFinaliser
- Move deRefWeak# from an out-of-line primop to an inline one.
simonm [Mon, 1 Feb 1999 18:04:46 +0000 (18:04 +0000)]
[project @ 1999-02-01 18:04:46 by simonm]
Report actual amount of memory in use by the compiler in the
-Rghc-timing output.
simonm [Mon, 1 Feb 1999 14:31:34 +0000 (14:31 +0000)]
[project @ 1999-02-01 14:31:34 by simonm]
Fix two bugs in formatRealFloat.
simonm [Mon, 1 Feb 1999 10:33:18 +0000 (10:33 +0000)]
[project @ 1999-02-01 10:33:18 by simonm]
- Increase stack size for PrelPack.lhs
simonm [Mon, 1 Feb 1999 10:19:02 +0000 (10:19 +0000)]
[project @ 1999-02-01 10:19:02 by simonm]
Clarification about the root set and top-level objects for the
reachability property.
sof [Mon, 1 Feb 1999 10:02:18 +0000 (10:02 +0000)]
[project @ 1999-02-01 10:02:15 by sof]
H98 Prelude tweaks
simonm [Fri, 29 Jan 1999 13:52:09 +0000 (13:52 +0000)]
[project @ 1999-01-29 13:52:09 by simonm]
A couple of underscore got lost a long time ago.
simonm [Fri, 29 Jan 1999 13:42:26 +0000 (13:42 +0000)]
[project @ 1999-01-29 13:42:26 by simonm]
unwibble
simonm [Fri, 29 Jan 1999 11:49:31 +0000 (11:49 +0000)]
[project @ 1999-01-29 11:49:31 by simonm]
Zh --> zh
simonm [Fri, 29 Jan 1999 09:32:37 +0000 (09:32 +0000)]
[project @ 1999-01-29 09:32:37 by simonm]
zh --> Zh (for genSymZh and resetGenSymZh)
simonm [Fri, 29 Jan 1999 09:30:52 +0000 (09:30 +0000)]
[project @ 1999-01-29 09:30:51 by simonm]
zh --> Zh
simonpj [Thu, 28 Jan 1999 17:10:53 +0000 (17:10 +0000)]
[project @ 1999-01-28 17:10:52 by simonpj]
PrelInfo should define deRefStablePtr and friends to be in PrelStable
simonm [Thu, 28 Jan 1999 16:59:33 +0000 (16:59 +0000)]
[project @ 1999-01-28 16:59:33 by simonm]
Zh --> zh
simonpj [Thu, 28 Jan 1999 16:37:42 +0000 (16:37 +0000)]
[project @ 1999-01-28 16:37:41 by simonpj]
Add OccName.mkMethodOcc, whose absence broke nofib/spectral/fft2
simonm [Thu, 28 Jan 1999 15:04:02 +0000 (15:04 +0000)]
[project @ 1999-01-28 15:04:00 by simonm]
- Be a bit more accurate about +RTS -H<size>, now we attempt to estimate
the amount of memory that will be needed at the next GC based on
the amount of promotion going on, and adjust the size of the allocation
area appropriately.
- tidy up, move some stuff into Storage.c.
simonpj [Thu, 28 Jan 1999 14:22:17 +0000 (14:22 +0000)]
[project @ 1999-01-28 14:22:15 by simonpj]
Fix erroneous name-clash report when a module ends up importing itself (eg TcEnv)
simonm [Thu, 28 Jan 1999 13:03:02 +0000 (13:03 +0000)]
[project @ 1999-01-28 13:03:02 by simonm]
Remove unnecessary (and non-H98-friendly) import.
simonm [Thu, 28 Jan 1999 12:59:11 +0000 (12:59 +0000)]
[project @ 1999-01-28 12:59:11 by simonm]
Update to match .hi-boot file.
simonm [Thu, 28 Jan 1999 12:14:16 +0000 (12:14 +0000)]
[project @ 1999-01-28 12:14:16 by simonm]
Remove unprintable characters from module header.
simonpj [Thu, 28 Jan 1999 12:14:00 +0000 (12:14 +0000)]
[project @ 1999-01-28 12:14:00 by simonpj]
Fix missing dash in SimplCore.lhs, which resulted in bogus specialisations
simonm [Thu, 28 Jan 1999 12:12:17 +0000 (12:12 +0000)]
[project @ 1999-01-28 12:12:17 by simonm]
Several updates, mainly to the "heap objects" section.
simonpj [Thu, 28 Jan 1999 11:33:44 +0000 (11:33 +0000)]
[project @ 1999-01-28 11:33:42 by simonpj]
Remove unnecessary imports
simonpj [Thu, 28 Jan 1999 11:32:13 +0000 (11:32 +0000)]
[project @ 1999-01-28 11:32:11 by simonpj]
Wibble
simonpj [Thu, 28 Jan 1999 11:29:23 +0000 (11:29 +0000)]
[project @ 1999-01-28 11:29:23 by simonpj]
Changes for new z-encoding
simonpj [Thu, 28 Jan 1999 11:27:01 +0000 (11:27 +0000)]
[project @ 1999-01-28 11:27:01 by simonpj]
Changes to PrelGHC.hi-boot for new z-encoding
simonpj [Thu, 28 Jan 1999 09:43:39 +0000 (09:43 +0000)]
[project @ 1999-01-28 09:43:38 by simonpj]
Fix lost specialisations; a one-char change in Simplify.lhs
simonpj [Thu, 28 Jan 1999 09:20:07 +0000 (09:20 +0000)]
[project @ 1999-01-28 09:19:57 by simonpj]
Always inline nullary constructors. This makes a
difference in:
case x ># y of r {
True -> f1 r
False -> f2 r
}
The code generator currently has difficulty binding "r"
to the boolean result of the comparision (and the compiler
crashes). This fix substitutes for r, thus:
case x ># y of r {
True -> f1 True
False -> f2 False
}
Voila.
simonm [Wed, 27 Jan 1999 17:37:18 +0000 (17:37 +0000)]
[project @ 1999-01-27 17:37:18 by simonm]
Increase CmdLineOpts stack size.
simonpj [Wed, 27 Jan 1999 16:54:18 +0000 (16:54 +0000)]
[project @ 1999-01-27 16:54:18 by simonpj]
Undo bogus fix to CgCase.lhs
simonm [Wed, 27 Jan 1999 16:41:16 +0000 (16:41 +0000)]
[project @ 1999-01-27 16:41:14 by simonm]
Use the +RTS -H<size> flag as a "suggestion" to the garbage collector
to use that much heap. If you have plenty of memory, then saying
+RTS -H<large> will really help GC times.
simonpj [Wed, 27 Jan 1999 15:05:07 +0000 (15:05 +0000)]
[project @ 1999-01-27 15:05:07 by simonpj]
Add RdrName.lhs
simonpj [Wed, 27 Jan 1999 15:01:17 +0000 (15:01 +0000)]
[project @ 1999-01-27 15:01:03 by simonpj]
Haskell 98 updates
simonpj [Wed, 27 Jan 1999 14:52:25 +0000 (14:52 +0000)]
[project @ 1999-01-27 14:51:14 by simonpj]
Finally! This commits the ongoing saga of Simon's hygiene sweep
FUNCTIONALITY
~~~~~~~~~~~~~
a) The 'unused variable' warnings from the renamer work.
b) Better error messages here and there, esp type checker
c) Fixities for Haskell 98 (maybe I'd done that before)
d) Lazy reporting of name clashes for Haskell 98 (ditto)
HYGIENE
~~~~~~~
a) type OccName has its own module. OccNames are represented
by a single FastString, not three as in the last round. This
string is held in Z-encoded form; a decoding function decodes
for printing in user error messages. There's a nice tight
encoding for (,,,,,,,,,,,,,,,,,,,,,,,,,,,,,)
b) type Module is a proper ADT, in module OccName
c) type RdrName is a proper ADT, in its own module
d) type Name has a new, somwhat tidier, representation
e) much grunting in the renamer to get Provenances right.
This makes error messages look better (no spurious qualifiers)
simonm [Wed, 27 Jan 1999 12:11:26 +0000 (12:11 +0000)]
[project @ 1999-01-27 12:11:25 by simonm]
More missing files <sigh>
simonm [Wed, 27 Jan 1999 10:55:39 +0000 (10:55 +0000)]
[project @ 1999-01-27 10:55:39 by simonm]
import PrelStable to get StablePtrs.
simonm [Wed, 27 Jan 1999 10:12:35 +0000 (10:12 +0000)]
[project @ 1999-01-27 10:12:35 by simonm]
PrelForeign.StablePtr moved to PrelStable.
simonm [Wed, 27 Jan 1999 10:11:27 +0000 (10:11 +0000)]
[project @ 1999-01-27 10:11:27 by simonm]
Add missing file.
simonm [Tue, 26 Jan 1999 16:16:35 +0000 (16:16 +0000)]
[project @ 1999-01-26 16:16:19 by simonm]
- Add specialised closure types (CONSTR_p_n, THUNK_p_n, FUN_p_n)
- Add -T<n> RTS flag to specify the number of steps in younger generations.
simonm [Tue, 26 Jan 1999 14:18:38 +0000 (14:18 +0000)]
[project @ 1999-01-26 14:18:38 by simonm]
Add missing file.
simonm [Tue, 26 Jan 1999 14:04:46 +0000 (14:04 +0000)]
[project @ 1999-01-26 14:04:46 by simonm]
add missing file.
sof [Tue, 26 Jan 1999 13:07:39 +0000 (13:07 +0000)]
[project @ 1999-01-26 13:07:39 by sof]
Drop unused infix decl for 'thenMaybeL' - spotted by 4.02 renamer.
simonm [Tue, 26 Jan 1999 12:25:02 +0000 (12:25 +0000)]
[project @ 1999-01-26 12:24:57 by simonm]
More stable name additions/changes.
simonm [Tue, 26 Jan 1999 11:13:15 +0000 (11:13 +0000)]
[project @ 1999-01-26 11:12:41 by simonm]
- Add Stable Names
- Stable pointers and stable names are now both provided by the
"Stable" module in ghc/lib/exts. Documentation is updated, and Foriegn
still exports the stable pointer operations for backwards compatibility.
sof [Tue, 26 Jan 1999 10:41:20 +0000 (10:41 +0000)]
[project @ 1999-01-26 10:41:20 by sof]
ifdef fix
sof [Tue, 26 Jan 1999 09:59:19 +0000 (09:59 +0000)]
[project @ 1999-01-26 09:59:18 by sof]
Prepared to support i?86-*-mingw32
sof [Mon, 25 Jan 1999 14:02:03 +0000 (14:02 +0000)]
[project @ 1999-01-25 14:02:03 by sof]
Added indexStablePtrArray (moved over from MutableArray)
sof [Mon, 25 Jan 1999 14:00:46 +0000 (14:00 +0000)]
[project @ 1999-01-25 14:00:46 by sof]
Completeness job - added read and write ops for various sized Ints and Words.
sof [Mon, 25 Jan 1999 13:58:56 +0000 (13:58 +0000)]
[project @ 1999-01-25 13:58:55 by sof]
Added --> {Int,Word}# coercion functions to export list. For internal use only
simonm [Mon, 25 Jan 1999 12:01:21 +0000 (12:01 +0000)]
[project @ 1999-01-25 12:01:21 by simonm]
Avoid a couple of C compiler warnings.
sof [Mon, 25 Jan 1999 11:55:06 +0000 (11:55 +0000)]
[project @ 1999-01-25 11:55:06 by sof]
Added osf3 guess
sof [Mon, 25 Jan 1999 11:42:57 +0000 (11:42 +0000)]
[project @ 1999-01-25 11:42:51 by sof]
Tweaks to make the sources compilable again on osf3.2
sof [Mon, 25 Jan 1999 10:26:18 +0000 (10:26 +0000)]
[project @ 1999-01-25 10:26:18 by sof]
Added isEmptyChan
sof [Sun, 24 Jan 1999 14:44:01 +0000 (14:44 +0000)]
[project @ 1999-01-24 14:44:00 by sof]
Moved ST <--> IO coercion functions from IOExts to ST (and LazyST) docs.
sof [Sun, 24 Jan 1999 14:43:19 +0000 (14:43 +0000)]
[project @ 1999-01-24 14:43:19 by sof]
- Completed lists of coercion functions provided.
- Clarified what behaviour to expect from Enum instances.
sof [Sun, 24 Jan 1999 14:37:59 +0000 (14:37 +0000)]
[project @ 1999-01-24 14:37:59 by sof]
GhcReportCompiles: default is NO
sof [Sun, 24 Jan 1999 14:19:48 +0000 (14:19 +0000)]
[project @ 1999-01-24 14:18:55 by sof]
more updates
sof [Sun, 24 Jan 1999 14:00:14 +0000 (14:00 +0000)]
[project @ 1999-01-24 14:00:12 by sof]
Tidied up desugar warnings - will now print out patterns containing
infix constructors correctly.
sof [Sun, 24 Jan 1999 13:45:09 +0000 (13:45 +0000)]
[project @ 1999-01-24 13:45:05 by sof]
Updated desugaring reg. tests
sof [Sat, 23 Jan 1999 18:10:10 +0000 (18:10 +0000)]
[project @ 1999-01-23 18:10:00 by sof]
even more h98 updates, this time to codeGen tests
sof [Sat, 23 Jan 1999 18:07:59 +0000 (18:07 +0000)]
[project @ 1999-01-23 18:07:42 by sof]
updates and tweaks
sof [Sat, 23 Jan 1999 18:05:19 +0000 (18:05 +0000)]
[project @ 1999-01-23 18:05:12 by sof]
more h98 updates
sof [Sat, 23 Jan 1999 18:03:53 +0000 (18:03 +0000)]
[project @ 1999-01-23 18:03:40 by sof]
h98 updates
sof [Sat, 23 Jan 1999 18:02:59 +0000 (18:02 +0000)]
[project @ 1999-01-23 18:02:58 by sof]
Updated
sof [Sat, 23 Jan 1999 17:59:06 +0000 (17:59 +0000)]
[project @ 1999-01-23 17:57:35 by sof]
Updated for H98
sof [Sat, 23 Jan 1999 17:55:29 +0000 (17:55 +0000)]
[project @ 1999-01-23 17:55:26 by sof]
More Enum regression tests than you can shake a stick at.
sof [Sat, 23 Jan 1999 17:54:43 +0000 (17:54 +0000)]
[project @ 1999-01-23 17:54:42 by sof]
Updated to work with current sources
sof [Sat, 23 Jan 1999 17:53:28 +0000 (17:53 +0000)]
[project @ 1999-01-23 17:53:28 by sof]
Fixes to {word,int}64ToIntegerZh_fast
sof [Sat, 23 Jan 1999 17:52:21 +0000 (17:52 +0000)]
[project @ 1999-01-23 17:52:21 by sof]
docfix
sof [Sat, 23 Jan 1999 17:51:27 +0000 (17:51 +0000)]
[project @ 1999-01-23 17:51:27 by sof]
Added comment next to the I*_ macros to explain why having them
expand to use 'static' instead of 'extern' is a Really Bad Idea.
sof [Sat, 23 Jan 1999 17:48:23 +0000 (17:48 +0000)]
[project @ 1999-01-23 17:48:23 by sof]
integerToInt64Zh: didn't handle negative integers particularly well
sof [Sat, 23 Jan 1999 17:47:04 +0000 (17:47 +0000)]
[project @ 1999-01-23 17:47:03 by sof]
Bunch of bug fixes related to Enum instances. Code clean-up.
sof [Sat, 23 Jan 1999 17:46:01 +0000 (17:46 +0000)]
[project @ 1999-01-23 17:46:01 by sof]
Move ST <--> IO coercion functions from IOExts to (Lazy)?ST
sof [Sat, 23 Jan 1999 17:44:40 +0000 (17:44 +0000)]
[project @ 1999-01-23 17:44:40 by sof]
Removed workaround for bug - fixed (a while ago.)
sof [Sat, 23 Jan 1999 17:43:21 +0000 (17:43 +0000)]
[project @ 1999-01-23 17:43:21 by sof]
Changed the various Ix.range methods, to specifically check whether we're
dealing with an empty range or not. As it was, empty array weren't handled
properly.
sof [Sat, 23 Jan 1999 17:40:07 +0000 (17:40 +0000)]
[project @ 1999-01-23 17:40:07 by sof]
Tag all 'foreign import's as being unsafe.
sof [Sat, 23 Jan 1999 17:38:52 +0000 (17:38 +0000)]
[project @ 1999-01-23 17:38:52 by sof]
do_if_stmt: insert extra (I_) to avoid minInt blues.
sof [Sat, 23 Jan 1999 17:34:37 +0000 (17:34 +0000)]
[project @ 1999-01-23 17:34:37 by sof]
Parser didn't accept the (all-important) empty module. Does now.
sof [Sat, 23 Jan 1999 13:33:52 +0000 (13:33 +0000)]
[project @ 1999-01-23 13:33:51 by sof]
Updated to work with current sources
sof [Fri, 22 Jan 1999 13:12:22 +0000 (13:12 +0000)]
[project @ 1999-01-22 13:12:22 by sof]
ifaceKeywordsFM: adding missing __ccall_GC entry
simonm [Fri, 22 Jan 1999 10:58:43 +0000 (10:58 +0000)]
[project @ 1999-01-22 10:58:43 by simonm]
Fix include typo.
simonm [Fri, 22 Jan 1999 10:45:21 +0000 (10:45 +0000)]
[project @ 1999-01-22 10:45:21 by simonm]
Fix more uses of [n..m]
simonm [Fri, 22 Jan 1999 10:25:44 +0000 (10:25 +0000)]
[project @ 1999-01-22 10:25:44 by simonm]
Fix a use of [ e1..e2 ] in the light of the new Haskell 98 semantics.
simonm [Fri, 22 Jan 1999 10:10:41 +0000 (10:10 +0000)]
[project @ 1999-01-22 10:10:41 by simonm]
Fix two uses of [ e1 .. e2 ] in light of the new Haskell 98 semantics.
sof [Thu, 21 Jan 1999 20:15:32 +0000 (20:15 +0000)]
[project @ 1999-01-21 20:15:30 by sof]
Enum instances updated to comply with the behaviour that
Haskell 98 specifies. Notable changes,
* [a..b] is not the empty list when a>b any longer.
* [x..] and [x,y..] for Enum Int are now bounded lists.
The first change is might be worth bearing in mind when converting
1.4 code to Haskell 98; functions may have made use of the
old behaviour.
sof [Thu, 21 Jan 1999 20:02:45 +0000 (20:02 +0000)]
[project @ 1999-01-21 20:02:43 by sof]
Robustified derived toEnum methods; gives better error message when
passed enum tags < 0.
sof [Thu, 21 Jan 1999 20:01:10 +0000 (20:01 +0000)]
[project @ 1999-01-21 20:01:10 by sof]
wibble
sof [Thu, 21 Jan 1999 20:00:55 +0000 (20:00 +0000)]
[project @ 1999-01-21 20:00:55 by sof]
dsExpr: make sure special case for unboxed tuple patterns only
'fire' when the tup. pat. is unboxed.
sof [Thu, 21 Jan 1999 19:59:22 +0000 (19:59 +0000)]
[project @ 1999-01-21 19:59:20 by sof]
Removed unused args from Id.mkIdVisible and Name.mkNameVisible.
Perpetuated Name.mkTopName hack in Name.mkNameVisible.
sof [Thu, 21 Jan 1999 19:56:48 +0000 (19:56 +0000)]
[project @ 1999-01-21 19:56:48 by sof]
The temp file where cpp's output was output wasn't being properly removed