- 15 Jan, 2014 1 commit
-
-
Austin Seipp authored
After some discussion on ghc-devs@ and elsewhere, it seemed favorable to make this change as type holes don't let any invalid programs though, they merely change what the compiler reports in case of certain errors (namely unbound occurrences, or _ appearing on a LHS.) Now, the warning mechanism is controlled by -f[no-]warn-type-errors, just like any other regular warning. Again, on by default. The documentation and tests have been updated accordingly. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 14 Jan, 2014 3 commits
-
-
kgardas authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
As Simon pointed out, we should only enable -dynamic-too in the template haskell case if GHC is dynamic and we're not already compiling in the dyn way (the dyn way will be switched on by -dynamic-too later in the pipeline anyway - see pipeLoop) Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 13 Jan, 2014 1 commit
-
-
Austin Seipp authored
We're punting on full -dynamic and -dynamic-too support for Windows right now, since it's still unstable. Also, ensure "Support dynamic-too" in `ghc --info` is set to "NO" for Cabal. See issues #7134, #8228, and #5987Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 10 Jan, 2014 1 commit
-
-
Simon Peyton Jones authored
Previously they just used a fixed width of 100, ignoring -dppr-cols. I think this dates back to a time when the flag didn't exist, or wasn't conveniently available. Thanks to Andrew Gibiansky for pointing this out.
-
- 07 Jan, 2014 1 commit
-
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 09 Dec, 2013 1 commit
-
-
Joachim Breitner authored
The existing flag -ddump-stranal dumps the full Core, which is very verbose and not always helpful. This adds a more concise output (one line per top-level bind) that is faster to read, and especially more suitable to be used when writing test cases for the strictness analiser.
-
- 01 Dec, 2013 1 commit
-
-
parcs authored
-
- 22 Nov, 2013 1 commit
-
-
Joachim Breitner authored
-
- 12 Nov, 2013 1 commit
-
-
Simon Peyton Jones authored
Fixes Trac #8519
-
- 06 Nov, 2013 3 commits
-
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
This should really be an error, but we'll just warn for now
-
Simon Peyton Jones authored
-
- 11 Oct, 2013 1 commit
-
-
Simon Marlow authored
-
- 09 Oct, 2013 1 commit
-
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 02 Oct, 2013 1 commit
-
-
Austin Seipp authored
As Herbert pointed it, it was removed a long time ago. Authored-by:
Kazu Yamamoto <kazu@iij.ad.jp> Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 01 Oct, 2013 4 commits
-
-
Gabor Greif authored
-
unknown authored
* The main change is to suppress printing (in types) of kind for-alls kind applications The new flag -fprint-explicit-kinds prints them as before (by analogy with the existing -fprint-explicit-foralls) * I also took advantage of the fact that SDoc now has access to DynFlags, to tidy up the way in which explicit for-alls are printed. Instead of passing a boolean flag around, we now simply consult the DynFlags. Much neater. I still need to add documentation for the flag
-
Simon Marlow authored
-
Simon Marlow authored
-
- 29 Sep, 2013 1 commit
-
-
Austin Seipp authored
This was supposed to happen a long time ago, but later is better than never. This makes `-fwarn-lazy-unlifted-bindings` into a no-op (with its own warning) to be removed in GHC 7.10. This fixes #8022. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 23 Sep, 2013 4 commits
-
-
gmainlan@microsoft.com authored
This sets the SSE "version" to 1.0.
-
gmainlan@microsoft.com authored
LLVM's GHC calling convention only allows 128-bit SIMD vectors to be passed in machine registers on X86-64. This may change in LLVM 3.4; the hidden flag -fllvm-pass-vectors-in-regs causes all SIMD vector widths to be passed in registers on both X86-64 and on X86-32.
-
gmainlan@microsoft.com authored
-
gmainlan@microsoft.com authored
-
- 22 Sep, 2013 1 commit
-
-
Austin Seipp authored
This commit exposes GHC's internal compiler pipeline through a `Hooks` module in the GHC API. It currently allows you to hook: * Foreign import/exports declarations * The frontend up to type checking * The one shot compilation mode * Core compilation, and the module iface * Linking and the phases in DriverPhases.hs * Quasiquotation Authored-by:
Luite Stegeman <stegeman@gmail.com> Authored-by:
Edsko de Vries <edsko@well-typed.com> Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 18 Sep, 2013 1 commit
-
-
Jan Stolarek authored
It is off by default, which is meant to be a workaround for #8275. Once #8275 is fixed we will enable this option by default.
-
- 13 Sep, 2013 1 commit
-
-
Jan Stolarek authored
This makes it consistent with the corresponding -cmm-sink flag
-
- 12 Sep, 2013 1 commit
-
-
Austin Seipp authored
This patch implements a warning when definitions conflict with the Applicative-Monad Proposal (AMP), described in #8004. Namely, this will cause a warning iff: * You have an instance of Monad, but not Applicative * You have an instance of MonadPlus, but not Alternative * You locally defined a function named join, <*>, or pure. In GHC 7.10, these warnings will actually be enforced with superclass constraints through changes in base, so programs will fail to compile then. This warning is enabled by default. Unfortunately, not all of our upstream libraries have accepted the appropriate patches. So we temporarily fix ./validate by ignoring the AMP warning. Dan Rosén made an initial implementation of this change, and the remaining work was finished off by David Luposchainsky. I finally made some minor refactorings. Authored-by:
Dan Rosén <danr@chalmers.se> Authored-by:
David Luposchainsky <dluposchainsky@gmail.com> Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 09 Sep, 2013 1 commit
-
-
jpm@cs.ox.ac.uk authored
-
- 08 Sep, 2013 1 commit
-
-
nfrisby authored
also added -fdmd-tx-dict-sel, on by default
-
- 06 Sep, 2013 2 commits
-
-
thoughtpolice authored
This patch encompasses most of the basic infrastructure for GHCJS. It includes: * A new extension, -XJavaScriptFFI * A new architecture, ArchJavaScript * Parser and lexer support for 'foreign import javascript', only available under -XJavaScriptFFI, using ArchJavaScript. * As a knock-on, there is also a new 'WayCustom' constructor in DynFlags, so clients of the GHC API can add custom 'tags' to their built files. This should be useful for other users as well. The remaining changes are really just the resulting fallout, making sure all the cases are handled appropriately for DynFlags and Platform. Authored-by:
Luite Stegeman <stegeman@gmail.com> Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
parcs authored
-
- 30 Aug, 2013 2 commits
-
-
parcs authored
-
Jan Stolarek authored
Fixes #8200
-
- 29 Aug, 2013 3 commits
-
-
nfrisby authored
cf http://ghc.haskell.org/trac/ghc/wiki/LateDmd
-
Simon Peyton Jones authored
This fixes Trac #8191. The patch also adds and documents a new flag -fmax-relevant-bindings=N which lets you control how many bindings in the type environment are shown.
-
thoughtpolice authored
Under -XNumDecimals, it's possible to specify an integer literal using compact "floating point" syntax for any floating literal constant which also happens to be an integer. This lets us write 1.2e6 :: Integer instead of: 1200000 :: Integer This also makes some amendments to the users guide. Authored-by:
Shachaf Ben-Kiki <shachaf@gmail.com> Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
- 28 Aug, 2013 1 commit
-
-
thoughtpolice authored
iOS has some particular constraints about how applications can be built: * We must generate a static library (.a) since XCode does the final link. * We need to carefully give the right set of arguments to libtool in the case we're generating an archive. * Dynamic linking isn't supported. * It can only be done on OS X. This patch cleans up all of the above. We add a new flag `-staticlib` (only supported on Darwin) that allows us to produce archive files using libtool, and a -pgmlibtool flag to control which 'libtool' executable to use. This fixes #8127. I believe this is the last piece missing from the iOS cross compiler. Authored-by:
Luke Iannini <lukexi@me.com> Authored-by:
Maxwell Swadling <maxwellswadling@gmail.com> Authored-by:
Stephen Blackheath <...@blacksapphire.com> Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-