Commit Graph

45 Commits

Author SHA1 Message Date
Alejandro Serrano
c06ee75fbb Fix building errors on ghc < 7.8 and tests 2014-06-28 23:18:49 +02:00
Alejandro Serrano
1b66f65b48 Move lots of stuff to GhcMod
- Generalize many signatures to GhcMonad m
2014-06-28 21:43:51 +02:00
Alejandro Serrano
323c1b5471 Initial support for adding body from signature 2014-06-10 21:34:05 +02:00
Alejandro Serrano
cedf59ace7 Merge branch 'fix-typed-holes' 2014-06-10 17:09:46 +02:00
Alejandro Serrano
c9b901f4f9 Fix problems with GHC's Typed Holes 2014-06-09 10:30:33 +02:00
Alejandro Serrano
6854d417c0 Initial implementation of case splitting
- It doesn't handle vars correctly yet
2014-06-08 12:33:13 +02:00
Daniel Gröber
814ea60552 Types doesn't export convert anymore 2014-05-14 20:55:54 +02:00
Kazu Yamamoto
9bc25046e3 rescue old GHCs. 2014-04-28 14:36:55 +09:00
Kazu Yamamoto
ae75872638 fixing regression. 2014-04-28 14:36:46 +09:00
Kazu Yamamoto
662842a085 clean up Gap. 2014-04-28 14:13:25 +09:00
Kazu Yamamoto
adb4addd54 707 -> 708. 2014-04-28 14:04:18 +09:00
Kazu Yamamoto
f413cda0fe one more try. 2014-04-28 11:26:06 +09:00
Kazu Yamamoto
6a7955679a rescue old GHCs. 2014-04-28 09:28:57 +09:00
Kazu Yamamoto
2733f94a52 rescue old GHCs. 2014-04-28 09:00:03 +09:00
Kazu Yamamoto
017d4cc22f don't use InteractiveImport for old GHCs.. 2014-04-27 22:48:24 +09:00
Kazu Yamamoto
dede115731 defining withContext. 2014-04-27 21:26:03 +09:00
Kazu Yamamoto
c1c0993b4a import DynFlag only in Gap. 2014-04-26 13:21:22 +09:00
Kazu Yamamoto
c8fbdcfa2f Thanks to DeferTypeErrors, info/type can work even if the file contains errors. 2014-04-26 11:43:30 +09:00
Daniel Gröber
c9ca3a6d76 Clean up DynFlags initialization 2014-04-23 04:04:41 +02:00
Daniel Gröber
2381f6e1ab More refactoring of package handling
- 'GhcPkg' now parses 'ghc-pkg -v list' output directly to also get the
  package-id

- Remove unused field 'cradlePackages' in Cradle

- Remove 'getPackageDbPackages' and use 'ghcPkgListEx' instead
2014-04-18 03:59:46 +02:00
Kazu Yamamoto
998a43ce24 removing depanal. 2014-04-11 12:56:06 +09:00
Kazu Yamamoto
196450af9f simplifying modSummary. 2014-04-11 12:41:39 +09:00
Kazu Yamamoto
f7f1e081c5 adding dumpSplicesFlag. 2014-03-27 20:54:18 +09:00
Kazu Yamamoto
5f6adb53f2 close import. 2014-03-27 16:02:16 +09:00
Kazu Yamamoto
660a1e95f5 using liftIO from CoreMonad. 2014-03-27 15:08:07 +09:00
Kazu Yamamoto
48faeac83a removing a warning. 2014-02-06 22:12:07 +09:00
Kazu Yamamoto
fb0222ff76 burying the gap. 2014-02-06 22:09:00 +09:00
Kazu Yamamoto
891ddf639b supporting GHC 7.8rc1. (#186)
from @bartavelle.
2014-02-06 21:40:51 +09:00
Kazu Yamamoto
45154e6eb1 implementing fromTyThing. 2014-02-06 21:34:40 +09:00
Naohiro Aota
a0db24b0a5 Extend Package to include id
This commit
1. rename Package with PackageBaseName
2. Pacakge = (PackageBaseName, Maybe String) to save its id
3. Expose packages with id if available
2014-01-30 20:45:30 +09:00
Kazu Yamamoto
cf0180ed53 Merge pull request #182 from eagletmt/fix-for-ghc-7.7.20140110
Pretty.showDocWith disappeard at GHC 7.7.20140110
2014-01-13 23:24:43 -08:00
Kohei Suzuki
b51072f5f0 Pretty.showDocWith disappeard at GHC 7.7.20140110 2014-01-14 15:37:16 +09:00
Kohei Suzuki
0efd848924 GHC 7.2.2 also has fWarningFlags and fLangFlags 2014-01-14 15:25:06 +09:00
Kazu Yamamoto
1e7eeff41c cleaning up warnings. 2014-01-08 09:55:06 +09:00
Scott West
33ddaf67aa Updating Gap to the GHC 7.7 trunk API. 2014-01-07 18:11:20 +01:00
Kazu Yamamoto
41da5cc505 defining deSugar. 2013-11-19 12:54:08 +09:00
Kazu Yamamoto
13738d4391 defining typeForUser. 2013-11-19 12:35:42 +09:00
Kazu Yamamoto
7fbd983172 defining errorMsgSpan. 2013-11-19 12:28:59 +09:00
Schell Scivally
b8e20d8e2e Compatibility with ghc API >= 7.7 2013-11-19 10:30:18 +09:00
Kazu Yamamoto
d58c11bcc3 addDevPkgs does not modify DynFlags if packages are an empty list. 2013-09-20 11:39:11 +09:00
Kazu Yamamoto
1cd83ce2e0 showUnqualifiedPage is now in Doc.hs. 2013-07-14 17:07:30 +09:00
Daniil Frumin
dd03fc4c2c More fixes for GHC 7.4 2013-07-02 13:29:08 +04:00
Daniil Frumin
9d3b449e55 This should fix building the library for GHC <= 7.4 2013-07-02 13:19:25 +04:00
Daniil Frumin
9eb446e24b Moving all CPP stuff (that depends on GHC version) to Gap
- Moved some functions from Language.Haskell.GhcMod.Doc to Gap
- Moved HasType typeclass and some functions from Info to Gap
- Adjusted all the other modules to use necessary functions from Gap
  instead of the functions from modified modules
2013-07-02 12:48:44 +04:00
Kazu Yamamoto
bac4bbbcf3 Changing GHCMod as a library. 2013-05-17 10:00:01 +09:00