Commit Graph

2053 Commits

Author SHA1 Message Date
Moritz Kiefer
4874bc914b Add Ord instances for Cradle 2016-02-16 21:44:10 +01:00
Alan Zimmerman
85df08a913 Add a argument parser and some haddocks
I am not sure if I have set the ParserInfo up correctly, I have never
used it before.
2016-02-15 22:04:47 +02:00
Alan Zimmerman
c9e5a20a3e Merge remote-tracking branch 'dxld/master' into opts-in-lib 2016-02-15 15:56:55 +02:00
Daniel Gröber
d3f66500ed Fix some warnings (ghc 8) 2016-02-14 12:35:57 +01:00
Daniel Gröber
be6ba3f875 Merge remote-tracking branch 'pikajude/ghc-8' 2016-02-14 12:35:29 +01:00
Daniel Gröber
2f1681e481 Fix DynFlagsTH for GHC 8 2016-02-14 12:24:49 +01:00
Daniel Gröber
20c999e098 Time to kill GHC 7.4 support 2016-02-14 10:10:28 +01:00
Daniel Gröber
4f289fc4e4 Fix older GHCs 2016-02-14 10:10:26 +01:00
Daniel Gröber
daeb5018f3 Add DynFlagsTH to exposed-modules 2016-02-14 08:50:49 +01:00
Daniel Gröber
2e4c2b5228 Check session validity via equality on DynFlags 2016-02-14 08:42:45 +01:00
Daniel Gröber
b4de82632e Relax some upper bounds for GHC 8 2016-02-14 08:42:45 +01:00
Daniel Gröber
9b2f4dbb8b Fix NotCPP for GHC 8 2016-02-14 08:42:45 +01:00
Alan Zimmerman
b02dfb9ce3 Cleaning up 2016-02-09 22:34:25 +02:00
Alan Zimmerman
5f070b8428 Rebalance between lib and exe 2016-02-09 22:24:46 +02:00
Alan Zimmerman
d47c9f1205 Merge branch 'master' into opts-in-lib 2016-02-09 21:22:15 +02:00
Nikolay Yakimov
3ca408ec6a Merge pull request #750 from atom-haskell/fix-output-enc
Fix output encoding in loadMappedFileSource
2016-02-09 18:17:27 +03:00
Nikolay Yakimov
69727f24fa Fix output encoding in loadMappedFileSource 2016-02-09 16:27:24 +03:00
Nikolay Yakimov
721951e32c Merge pull request #747 from atom-haskell/fix-stdin-encoding
Add option for stdio encoding, set stdin, stderr encoding
2016-02-09 14:36:30 +03:00
Nikolay Yakimov
e802cdcfcd Merge branch 'master' into fix-stdin-encoding 2016-02-09 13:04:41 +03:00
Nikolay Yakimov
7b498041b9 Merge pull request #748 from atom-haskell/fix-tests
[Tests] HLint changed some Errors to Warnings
2016-02-09 13:04:31 +03:00
Nikolay Yakimov
1c668f20ba [Tests] HLint changed some Errors to Warnings 2016-02-09 12:51:28 +03:00
Nikolay Yakimov
98b2e4dac2 Since a backend option, remove encoding short opt 2016-02-09 12:42:47 +03:00
Nikolay Yakimov
8105f14f2c Add option for stdio encoding, set stdin encoding 2016-02-09 12:38:12 +03:00
Alan Zimmerman
b1d123c4b6 Fix tests, export parser spec 2016-02-08 23:02:31 +02:00
Alan Zimmerman
1cc97db24f Move the CLI parser definitions into the lib
So they can be used by library clients to parse and pass in the
appropriate ghc-mod Options.
2016-02-08 22:34:20 +02:00
Jude Taylor
ed867fea3e remove double location in error message 2016-02-06 10:02:01 -08:00
Jude Taylor
e417d095bf remove redundant FamilyD case 2016-02-04 11:07:51 -08:00
Jude Taylor
8ef0f52199 GHC 8 readiness 2016-02-04 10:54:55 -08:00
Nikolay Yakimov
2f1e586fea Remove worldSymbolCache from World 2016-01-27 02:09:26 +03:00
Nikolay Yakimov
1559a91a84 Cache non-interactive find results in distdir 2016-01-27 02:09:17 +03:00
Nikolay Yakimov
9b88b71f4d Fix sig command
Fixes #704
2016-01-26 23:54:17 +03:00
Nikolay Yakimov
bca7748264 [Type-constraints] Do not duplicate constraints 2016-01-20 03:12:21 +03:00
Nikolay Yakimov
8449d36eca [Type-constraints] Generalize some code, cleanup 2016-01-20 02:23:51 +03:00
Nikolay Yakimov
c117ed3b52 [Type-constraints] Some tests 2016-01-20 01:42:21 +03:00
Nikolay Yakimov
0c5da02d52 [Type-constraints] Add an option to toggle this 2016-01-20 01:29:33 +03:00
Nikolay Yakimov
aedc6b6b31 [Type-constraints] everythingStagedWithContext
This is required for GHC<7.10 due to a panic
2016-01-20 01:00:13 +03:00
Nikolay Yakimov
4e4eff7bdb [Type-constraints] Remove tidyTopType
It didn't do much anyway
2016-01-20 00:10:18 +03:00
Nikolay Yakimov
fde7bafe56 [Type-constraints] Fix type variable substitution 2016-01-20 00:02:23 +03:00
Daniel Gröber
d77e262915 Remove dependency on Safe from Setup.hs 2016-01-19 21:01:28 +01:00
Daniel Gröber
345bd92d21 Make runGhcModT thread lock test more reliable
it was failing reproducibly with `cabal test --show-details=streaming`
2016-01-19 21:01:25 +01:00
Nikolay Yakimov
39659b2917 [Type-constraints] Removed unnecessary definitions 2016-01-19 22:53:07 +03:00
Nikolay Yakimov
960a49c1ed [Type-constraints] Marginally better version
* Instead of listify, it walks the tree instead, so that constraints are only visible in relevant context.
* Uses Map instead of [(,)]
* Performs type substitutions in case of one child identifier found (relevant for constructor bindings)
2016-01-19 22:50:14 +03:00
Nikolay Yakimov
549d3e1006 [Type-constraints] Compounds type substitution 2016-01-18 09:02:28 +03:00
Nikolay Yakimov
966c694dbf [Type-constraints] Initial attempt at compounds
I try to compute constraints for "compound" types.
While constraint-building itself is simple, types
do not match due to different representation
between 'internal' and 'exported' signatures.
2016-01-18 07:09:14 +03:00
Nikolay Yakimov
88f61724d4 [Type-constraints] Proof-of-concept 2016-01-18 07:09:14 +03:00
Daniel Gröber
566dbebe29 Merge release-5.5.0.0 into master (using imerge) 2016-01-17 21:03:28 +01:00
Daniel Gröber
5efa123f36 bump.sh: skip bump commit when empty 2016-01-17 20:19:08 +01:00
Daniel Gröber
17c4f91812 add TODO for HMG 2016-01-17 20:19:08 +01:00
Daniel Gröber
d29c882cd6 Fix warning with 7.10 2016-01-17 20:19:08 +01:00
Daniel Gröber
54fe4a0edb Replace fromJust with fromJustNote everywhere 2016-01-13 04:56:39 +01:00