- 24 Apr, 2007 1 commit
-
-
Simon Marlow authored
-
- 25 Apr, 2007 7 commits
-
-
Ian Lynagh authored
If you got darcs by SSH without specifying a username then the script would break.
-
Ian Lynagh authored
-
chak@cse.unsw.edu.au. authored
- Type synonym instances are turned into representation synonym tycons - They are entered into the pool of family instances (FamInst environments) in the same way as data/newtype instances - Still missing is writing the parent tycon information into ifaces and various well-formedness checks.
-
simonpj@microsoft.com authored
Users often trip up on the Dreaded Monomorphism Restriction. This warning flag tells you when the MR springs into action. Currently it's on by default, but we could change that.
-
simonpj@microsoft.com authored
WARNING: this patch changes interface-file formats slightly you will need to recompile your libraries Duncan Coutts wanted to export a function that has a NOINLNE pragma in a local let-defintion. This works fine within a module, but was not surviving across the interface-file serialisation. http://www.haskell.org/pipermail/glasgow-haskell-users/2007-March/012171.html Regardless of whether or not he's doing something sensible, it seems reasonable to try to retain local-binder IdInfo across interface files. This initial patch just retains inline-pragma info, on the grounds that other IdInfo can be re-inferred at the inline site. Interface files get a tiny bit bigger, but it seesm slight.
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
-
- 24 Apr, 2007 3 commits
-
-
simonpj@microsoft.com authored
The ticky StgEntCounter structure was trying to be clever by using a fixed-width 32-bit field for the registeredp value. But the code generators are not up to handling structures packed tightly like this (on a 64-bit architecture); result seg-fault on 64-bit. Really there should be some complaint from the code generators, not simply a seg fault. Anyway I switched to using native words for StgEntCounter fields, and now at least it works.
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
Merge to STABLE branch This bug was discovered by Nicolas Frisby. It's an egregious missing guard in boxySplitTyConApp. Test is tcfail180
-
- 23 Apr, 2007 1 commit
-
-
Simon Marlow authored
should fix recent GHCi problems in the HEAD
-
- 22 Apr, 2007 7 commits
-
-
simonpj@microsoft.com authored
nominolo@gmail.com pointed out (Trac #1204) that indexed data types aren't quite right. I investigated and found that the wrapper functions for indexed data types, generated in MkId, are really very confusing. In particular, we'd like these combinations to work newtype + indexed data type GADT + indexted data type The wrapper situation gets a bit complicated! I did a bit of refactoring, and improved matters, I think. I am not certain that I have gotten it right yet, but I think it's better. I'm committing it now becuase it's been on my non-backed-up laptop for a month and I want to get it into the repo. I don't think I've broken anything, but I don't regard it as 'done'.
-
simonpj@microsoft.com authored
MERGE TO STABLE I forgot to include this in the previous patch and Darcs crashes if I try 'amend-record' or 'unrecord' because I have a partial repo. Sigh.
-
simonpj@microsoft.com authored
MERGE TO STABLE This patch fixes Trac #1287. The problem is described in Note [Unused spec binders] in DsBinds. At the same time I realised that the error messages in DsBinds.dsPrag were being given the location of the *binding* not the *pragma*. So I've fixed that too.
-
simonpj@microsoft.com authored
-
simonpj@microsoft.com authored
MERGE TO STABLE Incidentally, this flag should probably be renamed -dppr-user-depth
-
simonpj@microsoft.com authored
MERGE TO STABLE The "user style" in Outputable allows us to elide large expressions when printing HsSyn, printing "..." instead. This is done by calling Outputable.pprDeeper. But there was no mechanism for trimming very long lists, which occur when using do-notation or explicit lists. This patch fixes the problem, by adding Outputable.pprDeeperList. I also made some of the pretty-printing in HsExpr rather more vigorous about increasing the depth; in particular, pprParendExpr. This should make debug prints shorter.
-
simonpj@microsoft.com authored
-
- 20 Apr, 2007 10 commits
-
-
simonpj@microsoft.com authored
The BuiltIn rule for GHC.Base.inline wasn't working for two reasons: a) inlineIdName wasn't in basicKnownKeyNames b) The rule function wasn't taking into account the type argument Thanks to Brian Alliet for spotting this bug.
-
mnislaih authored
I did quite a bit of clean up in the Term pretty printer code too. Support for infix constructors is still on the TODO list
-
mnislaih authored
-
mnislaih authored
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
-
- 19 Apr, 2007 7 commits
-
-
Simon Marlow authored
when stopped at a breakpoint we now get: [Test3.hs:2:17-30] *Main> when there is a stack of breakpoints, we get: ... [Test3.hs:2:17-30] *Main> showing just the topmost one. Better suggestions are welcome, but this seems not too bad to me.
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
":list" shows the code around the current breakpoint. Also it highlights the current expression in bold (the bold/unbold codes are hardwired to the ANSI codes right now, I'll provide a way to change them later). ":set stop <cmd>" causes <cmd> to be run each time we stop at a breakpoint. In particular, ":set stop :list" is particularly useful.
-
Simon Marlow authored
-
Simon Marlow authored
we shouldn't be binding 'it' until the computation has actually finished.
-
Simon Marlow authored
-
- 18 Apr, 2007 1 commit
-
-
Simon Marlow authored
-
- 19 Apr, 2007 2 commits
- 14 Apr, 2007 1 commit
-
-
mnislaih authored
-