- 04 Oct, 2012 7 commits
-
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
Type-class defaulting won't help with those insolubles, and it does make arbitrary choices that obfuscate the error messages from the insolubles.
-
Simon Peyton Jones authored
Note [Inaccessible code]. Fixes Trac #7293.
-
Simon Peyton Jones authored
Previously this optimisation only applied in the Wanted case, but it works perfectly well in the others too, and saves redundant evidence bindings.
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
- 03 Oct, 2012 13 commits
-
-
ian@well-typed.com authored
-
Ian Lynagh authored
-
ian@well-typed.com authored
I've put mkSOName in HscTypes for now; I'm not sure what the best place for it is.
-
ian@well-typed.com authored
-
ian@well-typed.com authored
-
ian@well-typed.com authored
There are used by the testsuite when dynamic-by-default is on
-
ian@well-typed.com authored
as x86_64/Linux now defaults to -dynamic
-
ian@well-typed.com authored
This required various build system changes to get the build to go through. In the inplace shell wrappers, we set LD_LIBRARY_PATH to allow programs to find their libraries. In the future, we might change the inplace tree to be the same shape as an installed tree instead. However, this would mean changing the way we do installation, as currently we use cabal's installation methods to install the libraries, but that only works if the libraries are under libraries/foo/dist-install/build/..., rather than in inplace/lib/...
-
-
Simon Peyton Jones authored
All the work was done by Dan Winograd-Cort. The main thing is that arrow comamnds now have their own data type HsCmd (defined in HsExpr). Previously it was punned with the HsExpr type, which was jolly confusing, and made it hard to do anything arrow-specific. To make this work, we now parameterise * MatchGroup * Match * GRHSs, GRHS * StmtLR and friends over the "body", that is the kind of thing they enclose. This "body" parameter can be instantiated to either LHsExpr or LHsCmd respectively. Everything else is really a knock-on effect; there should be no change (yet!) in behaviour. But it should be a sounder basis for fixing bugs.
-
jpm@cs.ox.ac.uk authored
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
- 02 Oct, 2012 11 commits
-
-
ian@well-typed.com authored
-
Simon Peyton Jones authored
See Trac #7287
-
Simon Peyton Jones authored
Make sure that we check for type errors strictly in a Template Haskell splice, even if -fdefer-type-errors is on We're going to run this code, so there's no point in deferring type errors. Worse, TcSplice uses unsafeCoerce (for vevy good reasons), so splicing a type into a place where an expression is expected would yield a seg-fault if we plough on regardless. Fixes Trac #7276
-
Simon Peyton Jones authored
This is just a bug that's been around since we introduced polymorphic kinds. The roots are in Type.cmpTypeX, but there was a variant in TcRnDriver.checkBootTyCon, which is where it came up. Fixes Trac #7272
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
* Get rid of the lookupInInerts stage * Re-introduce the flat-cache for flattening type-family equations See Note [Type family equations] in TcSMonad. My previous clever attempt with organising the work list proved too fragile. There's a (static) flag -fno-flat-cache to switch if off, so you can try with and without * Improve the -ddump-cs-trace output * The usual round of refactoring
-
Simon Marlow authored
-
shelarcy authored
Signed-off-by:
Gabor Greif <ggreif@gmail.com>
-
Simon Peyton Jones authored
The constraint solver sometimes goes to a lot of effort that turns out to be Refl in the end, and avoiding zonking those proofs is a useful optimisation. (Trac #5030)
-
Simon Peyton Jones authored
-
- 01 Oct, 2012 9 commits
-
-
ian@well-typed.com authored
-
ian@well-typed.com authored
Some binaries are installed in lib/, so if we wanted them to have a shell wrapper then under the old scheme both the binary and the wrapper would be installed under lib/. Now the binary is put under lib/bin/, leaving lib/ for the wrapper.
-
ian@well-typed.com authored
This makes it easier to ensure that we get consistent consistency checking, e.g. that -f1 -f2 will do the same checks as -f2 -f1 I think that some of the checks were bogus before, but hopefully all are correct now.
-
ian@well-typed.com authored
It's still the case that -dynamic -static will leave -fPIC enabled, but it's tricky to avoid that, and we already have similar situations where for example -XRankNTypes -XNoRankNTypes will leave ExplicitForAll enabled.
-
ian@well-typed.com authored
-
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-