- 27 Apr, 1999 23 commits
-
-
sof authored
When installing, append to entries in PACKAGE_BINS list
-
sof authored
For a forkIO'ed process, report uncaught exceptions on stderr.
-
sof authored
* Added toplevel exception handler: topHandler :: Bool -- bomb on exception caught -> Exception -> IO () for PrelMain.mainIO and Concurrent.forkIO to use * moved forkIO out of PrelConc and into Concurrent.
-
sof authored
Renamer changes: - for a toplevel type signature f :: ty the name 'f' refers to a local definition of 'f' - i.e., don't report 'f' as clashing with any imported 'f's. - tidied up the handling of fixity declarations - misplaced fixity declarations inside class decls, e.g., class F a where infix 9 `f` g :: a -> Int are now caught and reported as errors. Robustified the renaming of class decls.
-
keithw authored
glasgow-haskell-{bugs,users} has moved.
-
simonm authored
unboxed 1-tuples are legal.
-
simonm authored
Mark PrimOp arguments as lazy. This stops the simplifier throwing away cases, and is consistent with the way applications work. We could probably do better by using the information from primOpStrictness.
-
simonm authored
off-by-one in folding of tagToEnum#.
-
simonm authored
deriving fixes.
-
simonm authored
indexArray# changes.
-
simonm authored
indexArray# now returns an unboxed 1-tuple.
-
sewardj authored
Firstified a few common fns for a modest performance gain, ie, elem = any . (==) ===> directly recursive version.
-
sewardj authored
Further fixes to make -DDEBUG work right from mk/build.mk.
-
simonm authored
- Fix the tagToEnum# support in the code generator - Make isDeadBinder work on case binders - Fix compiling of case x `op` y of z { True -> ... z ... False -> ... z ... - Clean up CgCase a little. - Don't generate specialised tag2con functions for derived Enum/Ix instances; use tagToEnum# instead.
-
simonm authored
Remove declaration of PrelBase_Bool_closure_tbl.
-
simonm authored
Add macros for declaring closure tables.
-
simonm authored
Remove PrelBase_Bool_closure_tbl; this is now generated automatically.
-
sewardj authored
Correctify usage of -DDEBUG and -DDEBUG_EXTRA.
-
keithw authored
Documentation added for RegexString.
-
simonm authored
Add CLOSURE_TBL() macro for building closure tables.
-
sewardj authored
Minor mods to make STG Hugs compile out-of-the-box.
-
sewardj authored
Changes to improve runtime performance of STG Hugs. -- Reorganisation of the evaluator (Evaluator.c). -- Changes to code emission (Assembler.c) to support peephole opts -- An experimental simplifier (optimise.c). -- Many supporting bug fixes and minor changes. -- Experimental implementation of integer for standalone hugs (sainteger.c).
-
simonm authored
- Don't add -DCOMPILING_RTS twice - *set* SRC_CC_OPTS rather than appending to it: we're using ghc as the C compiler, so normal gcc flags probably won't work. eg. if you put SRC_CC_OPTS += -g in your build.mk, it'll fall over here.
-
- 26 Apr, 1999 6 commits
-
-
simonm authored
add getTag#
-
simonm authored
- New Wired-in Id: getTag# :: a -> Int# for a data type, returns the tag of the constructor. for a function, returns a spurious number probably. dataToTag# is the name of the underlying primitive which pulls out the tag (its argument is assumed to be evaluated). - Generate constructor tables for enumerated types, so we can do tagToEnum#. - Remove hacks in CoreToStg for dataToTag#.
-
simonm authored
Add simple high-level interface to Regex (snaffled from my nofib log analyser).
-
simonm authored
oops, forgot to add dataToTag#.
-
simonm authored
Reduce (dataToTag# x) where x is bound to a known constructor.
-
simonm authored
Add note about needing -optCrts before RTS options for the compiler itself.
-
- 23 Apr, 1999 6 commits
-
-
simonm authored
dataToTag# support.
-
simonm authored
Support for dataToTag# :: a -> Int# (if a is a data type) and (partial) support for tagToEnum# :: Int# -> a (if a is an enumerated type) The con2tag functions generated by derived Eq,Ord and Enum instances are now replaced by dataToTag# for data types with a large number of constructors.
-
sof authored
createPipe docfix
-
simonm authored
Remove hack to force setting the CCCS when we enter a function closure defined inside a lambda. We use a more general solution now.
-
simonm authored
More profiling fixes. Profiles looking more reasonable, but for best results add the -caf-all switch to GHC.
-
simonm authored
Don't forget to set the CCCS from the thunk when entering std thunks.
-
- 20 Apr, 1999 1 commit
-
-
simonpj authored
Better typechecker error message when a type-signature variable is unified with a type
-
- 19 Apr, 1999 2 commits
- 14 Apr, 1999 1 commit
-
-
kglynn authored
(keving) Sigh, No point w/w pass storing the worker id in wrapper's info field, because later simplifications may change the worker id. I've restored the original code which looks in the wrapper function and guesses the worker id. With the addition of CPR transf. this looks a bit fragile. thinks, thinks, ....
-
- 13 Apr, 1999 1 commit
-
-
sof authored
The {Int,Word}{8,16,32,64} types are no longer 'wired-in', just names with a known key.
-