- 01 Nov, 2012 1 commit
-
-
Simon Marlow authored
-
- 26 Oct, 2012 1 commit
-
-
Simon Peyton Jones authored
There was a long thread on cvs-ghc which concluded that although it's the Right Thing to deprecate Rank2Types and PolymorphicComponents, in favour of RankNTypes, it would cause lots of busy-work for library authors and the pain isn't worth the gain. So this patch removes the deprecation, and documents the synonym-ity.
-
- 09 Oct, 2012 4 commits
-
-
ian@well-typed.com authored
-
ian@well-typed.com authored
-
ian@well-typed.com authored
-
ian@well-typed.com authored
I also removed the default values from the "Discounts and thresholds" note: most of them were no longer up-to-date. Along the way I added FloatSuffix to the argument parser, analogous to IntSuffix.
-
- 08 Oct, 2012 1 commit
-
-
ian@well-typed.com authored
-
- 03 Sep, 2012 2 commits
-
-
ian@well-typed.com authored
-
ian@well-typed.com authored
-
- 16 Jul, 2012 3 commits
-
-
Ian Lynagh authored
Hopefully I've kept the logic the same, and we now generate warnings if the user does -fno-PIC but we ignore them (e.g. because they're on OS X amd64).
-
mikhail.vorozhtsov authored
-
mikhail.vorozhtsov authored
-
- 05 Jul, 2012 1 commit
-
-
pcapriotti authored
Based on a patch by Vitaly Bragilevsky <bravit111@gmail.com>
-
- 20 Jun, 2012 1 commit
-
-
Ian Lynagh authored
Also, -read-dot-ghci is now gone. We now have -no-ignore-dot-ghci instead.
-
- 18 Jun, 2012 2 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 14 Jun, 2012 2 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 12 Jun, 2012 1 commit
-
-
Simon Peyton Jones authored
Summary: - mdo expressions are enabled by RecursiveDo pragma - mdo expressions perform full segmentation - 'rec' groups inside 'do' are changed so they do *not* perform any segmentation. - Both 'mdo' and 'rec' are enabled by 'RecursiveDo' 'DoRec' is deprecated in favour of 'RecursiveDo' (The 'rec' keyword is also enabled by 'Arrows', as now.) Thanks to Levent for doing all the work
-
- 07 Jun, 2012 1 commit
-
-
Simon Peyton Jones authored
This is (I hope) the last major patch for kind polymorphism. The big new feature is polymorphic kind recursion when you supply a complete kind signature for a type constructor. (I've documented it in the user manual too.) This fixes Trac #6137, #6093, #6049. The patch also makes type/data families less polymorphic by default. data family T a now defaults to T :: * -> * If you want T :: forall k. k -> *, use data family T (a :: k) This defaulting to * is done whenever there is a "complete, user-specified kind signature", something that is carefully defined in the user manual. Hurrah!
-
- 15 May, 2012 2 commits
-
-
pcapriotti authored
Previously, the `-no-user-package` and `-no-global-package` flags affected the "initial" stack only, while `user-package` and `global-packages` appended to the end of the stack. This commit changes the behavior of those flags, so that they are always applied to the stack as a whole. The effect of the GHC_PACKAGE_PATH environment variable has also been changed: terminating it with a separator now adds the default package dbs (user and global) instead of the initial stack.
-
pcapriotti authored
-
- 12 Apr, 2012 1 commit
-
-
dterei authored
-
- 11 Apr, 2012 2 commits
-
-
pcapriotti authored
Patch by Sam Anklesaria <amsay@amsay.net>
-
pcapriotti authored
This reverts commit 991f1419.
-
- 31 Mar, 2012 1 commit
-
-
Iavor S. Diatchki authored
-
- 23 Mar, 2012 1 commit
-
-
chak@cse.unsw.edu.au. authored
* Enables vectorisation avoidance (This commit only adds the flag, not the actual vectorisation avoidance transformation.)
-
- 10 Feb, 2012 1 commit
-
-
Simon Peyton Jones authored
-
- 27 Jan, 2012 1 commit
-
-
dreixel authored
-
- 13 Jan, 2012 5 commits
- 12 Jan, 2012 1 commit
-
-
Simon Peyton Jones authored
This patch implements the idea of deferring (most) type errors to runtime, instead emitting only a warning at compile time. The basic idea is very simple: * The on-the-fly unifier in TcUnify never fails; instead if it gets stuck it emits a constraint. * The constraint solver tries to solve the constraints (and is entirely unchanged, hooray). * The remaining, unsolved constraints (if any) are passed to TcErrors.reportUnsolved. With -fdefer-type-errors, instead of emitting an error message, TcErrors emits a warning, AND emits a binding for the constraint witness, binding it to (error "the error message"), via the new form of evidence TcEvidence.EvDelayedError. So, when the program is run, when (and only when) that witness is needed, the program will crash with the exact same error message that would have been given at compile time. Simple really. But, needless to say, the exercise forced me into some major refactoring. * TcErrors is almost entirely rewritten * EvVarX and WantedEvVar have gone away entirely * ErrUtils is changed a bit: * New Severity field in ErrMsg * Renamed the type Message to MsgDoc (this change touches a lot of files trivially) * One minor change is that in the constraint solver we try NOT to combine insoluble constraints, like Int~Bool, else all such type errors get combined together and result in only one error message! * I moved some definitions from TcSMonad to TcRnTypes, where they seem to belong more
-
- 27 Nov, 2011 1 commit
-
-
shelarcy authored
-
- 25 Nov, 2011 1 commit
-
-
dreixel authored
-
- 22 Nov, 2011 1 commit
-
-
dterei authored
-
- 21 Nov, 2011 1 commit
-
-
dterei authored
-
- 18 Nov, 2011 1 commit
-
-
Ian Lynagh authored
-ddump-* files are put in the given directory. -outputdir also sets the dumpdir.
-