- 10 Jun, 2009 1 commit
-
-
Ian Lynagh authored
-
- 09 Jun, 2009 1 commit
-
-
Ian Lynagh authored
This means that, on Linux, we get functions like gamma defined when we #include math.h
-
- 08 Jun, 2009 1 commit
-
-
Ian Lynagh authored
With the exception of GHC's main Parser.y(.pp), which has 2 reduce/reduce conflicts
-
- 05 Jun, 2009 10 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
simonpj@microsoft.com authored
-
Ian Lynagh authored
-
- 04 Jun, 2009 5 commits
-
-
Ian Lynagh authored
-
Simon Marlow authored
-
Simon Marlow authored
Allows hs_free_fun_ptr() to be called by a separate thread
-
Simon Marlow authored
-
Simon Marlow authored
-
- 03 Jun, 2009 4 commits
-
-
Ian Lynagh authored
-
Simon Marlow authored
It wasn't failing even when the DTD was not found.
-
Simon Marlow authored
-
simonpj@microsoft.com authored
Roman found situations where he had case (f n) of _ -> e where he knew that f (which was strict in n) would terminate if n did. Notice that the result of (f n) is discarded. So it makes sense to transform to case n of _ -> e Rather than attempt some general analysis to support this, I've added enough support that you can do this using a rewrite rule: RULE "f/seq" forall n. seq (f n) e = seq n e You write that rule. When GHC sees a case expression that discards its result, it mentally transforms it to a call to 'seq' and looks for a RULE. (This is done in Simplify.rebuildCase.) As usual, the correctness of the rule is up to you. This patch implements the extra stuff. I have not documented it explicitly in the user manual yet... let's see how useful it is first. The patch looks bigger than it is, because a) Comments; see esp MkId Note [seqId magic] b) Some refactoring. Notably, I moved the special desugaring for seq from MkCore back into DsUtils where it properly belongs. (It's really a desugaring thing, not a CoreSyn invariant.) c) Annoyingly, in a RULE left-hand side we need to be careful that the magical desugaring done in MkId Note [seqId magic] item (c) is *not* done on the LHS of a rule. Or rather, we arrange to un-do it, in DsBinds.decomposeRuleLhs.
-
- 02 Jun, 2009 11 commits
-
-
Ian Lynagh authored
-
Simon Marlow authored
-
Simon Marlow authored
* use --nonet, so xmllint and co don't go off trying to download stuff from the web * use the http:// reference for the stylesheet, so we don't have to search the filesystem for it (should speedup ./configure)
-
Simon Marlow authored
-
Ian Lynagh authored
-
Ian Lynagh authored
-
simonpj@microsoft.com authored
We should accept these: data a :*: b = .... or data (:*:) a b = ... only if -XTypeOperators is in force. And similarly class decls. This patch fixes the problem. It uses the slightly-nasty OccName.isSymOcc, but the only way to avoid that is to cach the result in OccNames which seems overkill to us.
-
Ian Lynagh authored
-
Simon Marlow authored
and collect all the information about multi-threaded FFI use into it.
-
Simon Marlow authored
-
Simon Marlow authored
-
- 29 May, 2009 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
- 30 May, 2009 5 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
Ian Lynagh authored
I've also added some missing $s to some makefiles. These aren't technically necessary, but it's nice to be consistent.
-
Ian Lynagh authored
-
Ian Lynagh authored
-