- 26 Feb, 2001 14 commits
-
-
rrt authored
Compile lndir for Cygwin even under mingwin, because mingwin doesn't have symlinks (or sys/param.h).
-
simonmar authored
lookupClosure not used.
-
simonmar authored
make ghci-inplace work
-
simonmar authored
Update the interactive context in cmRunStmt rather than hscMain.
-
simonmar authored
Unload temporary bindings from the ClosureEnv properly at cmLoadModule time.
-
simonmar authored
fix dumping in desugarExpr
-
simonmar authored
- message wibbles - in one-shot mode, make sure the interface file follows the module rather than the filename of the source.
-
rrt authored
ILX back-end. WARNING: this is code copied in that was previously added to 4.06. It's not remotely sane to try to compile it at the moment; that's what I've got to do next. Don't worry, it's all #ifdefed at the moment.
-
simonpj authored
Move seq/par munging from CoreToStg to CoreSat
-
simonpj authored
Move findDefault, findAlt from SimplUtils to CoreUtils
-
simonpj authored
Dont print generic insts if there arent any
-
simonpj authored
Make it build without GHCI
-
simonmar authored
Implement do-style bindings on the GHCi command line. The syntax for a command-line is exactly that of a do statement, with the following meanings: - `pat <- expr' performs expr, and binds each of the variables in pat. - `let pat = expr; ...' binds each of the variables in pat, doesn't do any evaluation - `expr' behaves as `it <- expr' if expr is IO-typed, or `let it = expr' followed by `print it' otherwise.
-
simonpj authored
Make foldl more efficient; see comments with foldl
-
- 23 Feb, 2001 7 commits
-
-
simonpj authored
Fix a core-lint problem with -hi-boot files
-
simonmar authored
- Move compareInt# to PrelBase (where it was duplicated) - remove some unnecessary truncations in the Int8/Int16 code
-
simonmar authored
print GHC's version in the panic message
-
simonmar authored
Fix a problem with duplicate instances appearing in the interpreter after reloading modules.
-
simonmar authored
merge rev. 1.49.2.1 from ghc-4-07-branch
-
simonmar authored
don't need to derive Show on the Package datatype now.
-
chak authored
Added description for -fno-method-sharing. Shouldn't that flag be under the heading `Individual optimisations'?
-
- 22 Feb, 2001 7 commits
-
-
qrczak authored
Add --keep option to not delete *.hs_make.c. Add -c -l -C -L -i as synonyms for --cc --ld --cflag --lflag --include.
-
rrt authored
Add -mno-cygwin to CPP rather than CPPFLAGS, so that it gets into mkdependC and the like.
-
qrczak authored
Since fromInt was degraded to a function, do the same with toInt.
-
rrt authored
Add -mno-cygwin to CC_OPTS on mingwin (we were building all our auxiliary programs Cygwinised before...).
-
rrt authored
-hisuf is now done by fptools/mk/target.mk
-
simonpj authored
fromInt Remove fromInt from class Num, though it is retained as an overloaded operation (with unchanged type) in PrelNum. There are quite a few consequential changes in the Prelude. I hope I got them all correct! Also fix a bug that meant Integer (and its instances) wasn't getting slurped in by the renamer, even though it was needed for defaulting.
-
simonpj authored
Add more tests
-
- 21 Feb, 2001 8 commits
-
-
rrt authored
Move rules to tag .hi files with the way from hslibs/mk/target.mk to fptools/mk/target.mk.
-
rrt authored
Tidied up and removed discussion of solved mingw package problem.
-
simonpj authored
Add integerTyCon to the ubiquitous types
-
simonmar authored
Make this work with GHC 4.08, and remove duplicate (old) copy of Andy Gill's HTML combinator package.
-
simonpj authored
Improve the identity-case transform in strange Coerce situations
-
simonpj authored
More wibbles
-
simonmar authored
-O turns on -fignore-asserts.
-
simonpj authored
Be a bit more careful in CoreSat.deLam
-
- 20 Feb, 2001 4 commits
-
-
qrczak authored
Apply tweaks needed to let this compile: remove syn_map argument from typecheckExpr in HscMain, import PrelNum.fromInt to modules which use integer literals with -fno-implicit-prelude flag. It crashes later, on Directory.hs: ghc: panic! (the `impossible' happened): srtExpr I'm not sure if resolving numeric literals to top-level definitions of fromInt/fromInteger with -fno-implicit-prelude is a good idea. Using names from whatever module is called Prelude would be IMHO better, probably when -fglasgow-exts is given. Prel* modules themselves would import PrelNum as Prelude. Both schemes break for fromInt, which is non-standard and by default it's visible neither at the top level nor in the Prelude module. My proposal for dealing with it is as follows (assuming that fromInteger is taken from the module locally called Prelude instead of the top level): when the standard Prelude is used, take fromInt from PrelNum; when a Prelude replacement is used, use fromInt from it if available, otherwise use its fromInteger instead. That way Prelude replacements can ignore this non-standard extension and get the expected behavior, or they can also choose to use this extension (in a way compatible with Haskell implementations which allow to replace Prelude but don't have fromInt).
-
simonmar authored
More doc hacking. Call for Release Notes (CFRN): the 5-00-notes.sgml file is currently a skeleton only; PLEASE add or expand entries for things you've done.
-
simonpj authored
Eta expansion wibbles ~~~~~~~~~~~~~~~~~~~~~ * Don't eta reduce, and do eta expand, data con workers and primops Reason: they don't have bindings, so they aren't really ordinary variables. This is a bit of a swamp, provoked by moving CoreSat later, something I'm beginning to wonder about... Not are things settled yet -- I think some rules may not fire that should because of constructor worker/wrapper issues. E.g when you have foldr (:) [] xs = xs
-
simonpj authored
Import wibble
-