- 03 May, 2013 7 commits
-
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
Previously we looked for fundeps, and if any fired we didn't try to solve the constraint. But that's wrong (see Note [Weird fundeps]). Now I solve first and only if that fails try fundeps. Code is neater too. Fixes Trac #7875
-
Simon Peyton Jones authored
We simply weren't quantifying kind variables at the points we were claiming. In paritcular, in forall (a:k). blah we quantify the 'k' around the 'forall a', provided k isn't already in scope
-
Simon Peyton Jones authored
See Note [Eliminate flat-skols]. IT wasn't exactly wrong before the the error messages are deeply strange.
-
Simon Peyton Jones authored
The pretty-printer uses isPredTy to decide whether to use "=>" or "->", and typeKind crashes on ill-kinded types. But it's really unhelpful for the pretty-printer to crash on an ill-kinded type, because then you can't see it!
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
Fixes Trac #7872
-
- 02 May, 2013 1 commit
-
- 30 Apr, 2013 5 commits
-
-
tibbe authored
The flag shows no real impact on nofib benchmarks and GHC itself, which is expected given the small number of strict but not already unpacked fields in the source of these programs. However, the flag allows us to omit most of the UNPACK pragmas that are so common in source code today.
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
Previously, for f :: [Bool] f = map not we'd get a helpful message Probable cause: ‛map’ is applied to too few arguments but not for f :: [Bool] f = map which seems a bit stupid.
-
Simon Peyton Jones authored
We were saying The function `f' is applied to one argument, but its type `[a] -> b' has only one which is obviously bogus. This fix suppresses the explanation in cases where it may not be the *right* explanation.
-
Simon Peyton Jones authored
In particular, (forall a. Num a => ...) always has kind *, becuase the "=>" really is a function. It turned out that this was at the bottom of the crash in Trac #7778, which is now fixed
-
- 29 Apr, 2013 1 commit
-
-
ian@well-typed.com authored
sed on OS X doesn't handle \+
-
- 28 Apr, 2013 8 commits
-
-
ian@well-typed.com authored
-
ian@well-typed.com authored
Based on a patch from Peter Trommler
-
ian@well-typed.com authored
-
ian@well-typed.com authored
-
ian@well-typed.com authored
-
ian@well-typed.com authored
It was marked as "backwards compatibility" in 2006, so I think can be removed now. It allowed using old field names when looking at fields with ghc-pkg.
-
ian@well-typed.com authored
It used to just ignore the --simple-output flag
-
ian@well-typed.com authored
Patch from Peter Trommler
-
- 27 Apr, 2013 6 commits
-
-
ian@well-typed.com authored
-
Ian Lynagh authored
-
pali.gabor@gmail.com authored
explicitly link against any dependent library
-
pali.gabor@gmail.com authored
properly (see #7819)
-
ian@well-typed.com authored
On iOS, binaries are really static libraries, so we don't want to use flags like -lm when linking them.
-
ian@well-typed.com authored
Based on a patch from PHO, in trac #7813. We were previously declaring StgRun as a private symbol (in rts/StgRun.h), but were actually defining it as a public one (in rts/StgCRun.c). This caused a linkage problem with old binutils. See: http://www.haskell.org/pipermail/ghc-devs/2013-April/000932.html
-
- 26 Apr, 2013 12 commits
-
-
-
ian@well-typed.com authored
Patch from pgj; part of #7819.
-
ian@well-typed.com authored
On FreeBSD, one needs use "-z origin" in order to enable resolution of $ORIGIN in RPATH. Part of #7819.
-
ian@well-typed.com authored
-
ian@well-typed.com authored
We now just pass the filename as an argument
-
ian@well-typed.com authored
-
ian@well-typed.com authored
We now just pass the output filename as an argument instead
-
ian@well-typed.com authored
-
ian@well-typed.com authored
-
ian@well-typed.com authored
The output location needs to be different for the vanilla and dynamic ways when doing -dynamic-too. Fixes dynamicToo003.
-
ian@well-typed.com authored
-
ian@well-typed.com authored
It doesn't work with --make yet. Trac #7864 filed.
-