Commit Graph

1261 Commits

Author SHA1 Message Date
Kazu Yamamoto
609ca52dee Merge branch 'serras-master' 2014-07-03 17:04:00 +09:00
Kazu Yamamoto
f2e20e3279 comments. 2014-07-03 14:26:39 +09:00
Kazu Yamamoto
640140608e layout. 2014-07-03 14:22:43 +09:00
Kazu Yamamoto
826d42f824 clean up macros. 2014-07-03 14:19:36 +09:00
Kazu Yamamoto
c13fdde2f8 importing Control.Monad.IO.Class explicity.
trying to resolve #277.
2014-07-03 12:50:46 +09:00
Kazu Yamamoto
0639f54022 show version info on Travis. 2014-07-03 12:11:42 +09:00
Alejandro Serrano
df258843d9 Fix missing OccName import for ghc 7.4 2014-07-02 17:18:03 +02:00
Alejandro Serrano
5db4044f29 Use a struct for accessing initial info data 2014-07-02 17:04:28 +02:00
Alejandro Serrano
ccc21461b2 Fix missing import for ghc 7.4 2014-07-02 17:00:10 +02:00
Alejandro Serrano
c707eb4e8c Revert back change in MonadIO GhcMod 2014-07-01 17:56:59 +02:00
Alejandro Serrano
063ca80946 Fix compilation errors on ghc < 7.8 2014-07-01 17:43:13 +02:00
Alejandro Serrano
11acd93bf6 Try to fix for ghc < 7.8 2014-06-29 10:28:28 +02:00
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
871f72fca4 Remove code with extensions not present < ghc 7.8 2014-06-27 19:32:05 +02:00
Alejandro Serrano
edfe0c8ef3 Cleaning of case splitting code 2014-06-27 19:06:20 +02:00
Alejandro Serrano
2ab6991d95 Move code to new FillSig module
- Clean up a lot of code
2014-06-27 18:38:15 +02:00
Alejandro Serrano
3ef1979f67 Case splitting works in Emacs! 2014-06-26 21:17:22 +02:00
Alejandro Serrano
40cd5b7deb Haskell part of case splitting working! 2014-06-25 18:09:24 +02:00
Alejandro Serrano
5fa536714f Initial code generation working
- Added fallback with haskell-src-exts
2014-06-22 18:03:34 +02:00
Alejandro Serrano
90abb89a98 Inserting instance initial body now works :) 2014-06-22 11:10:23 +02:00
Alejandro Serrano
a45fb4c6f5 Move case split and sig. generation to own files
- Created SrcUtils module for shared functionality
2014-06-21 11:38:44 +02:00
Alejandro Serrano
8c56d2e3c8 Obtain better information for case split 2014-06-18 21:01:22 +02:00
Alejandro Serrano
5a968225c3 Initial skeleton for case split in elisp 2014-06-17 18:15:36 +02:00
Alejandro Serrano
8a63ae078b Add missing cases for signatures 2014-06-16 22:10:01 +02:00
Alejandro Serrano
32d76b209d Merge remote-tracking branch 'kazu/master' 2014-06-16 20:15:09 +02:00
Kazu Yamamoto
f9e912e425 fix #271 2014-06-16 10:21:15 +09:00
Alejandro Serrano
585c28f928 Initial implementation of instance completion 2014-06-11 22:01:43 +02:00
Alejandro Serrano
4f8d30aa06 Merge remote-tracking branch 'kazu/master' 2014-06-10 21:35:54 +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
Kazu Yamamoto
595776e2ab Merge pull request #270 from serras/fix-typed-holes
Fix problems with GHC's Typed Holes
2014-06-10 10:20:28 +09:00
Alejandro Serrano
2f42d77b53 Add special cases for case splitting 2014-06-09 13:01:47 +02:00
Alejandro Serrano
c9b901f4f9 Fix problems with GHC's Typed Holes 2014-06-09 10:30:33 +02:00
Alejandro Serrano
0c445aa30f Work on case split variable naming 2014-06-08 14:23:06 +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
Kazu Yamamoto
1e70c32b39 Merge pull request #267 from DanielG/dev-debug-info
Add script to collect debugging information.
2014-05-25 09:52:02 +09:00
Daniel Gröber
3c048b2732 Add script to collect debugging information. 2014-05-24 16:32:02 +02:00
Kazu Yamamoto
4a920c27b0 hcar review. 2014-05-21 09:18:51 +09:00
Kazu Yamamoto
bf0c6cd36a readme. 2014-05-19 16:42:34 +09:00
Kazu Yamamoto
2dc91b9f71 readme. 2014-05-19 16:35:38 +09:00
Kazu Yamamoto
6f9fbc6e02 readme. 2014-05-19 16:25:38 +09:00
Kazu Yamamoto
3b3dcbc6e5 Merge pull request #261 from saminiir/master
Refactor error message for argument mismatch to be more generic
2014-05-19 10:00:13 +09:00
Kazu Yamamoto
57392a238c Merge pull request #263 from DanielG/dev-fix-262
Revert "Fix tests for Cabal <= 1.16"
2014-05-19 09:45:19 +09:00
Daniel Gröber
eff77d1f31 Add test for sandbox compatibility with ghc < 7.8 2014-05-19 01:29:49 +02:00
Daniel Gröber
241c7946fc Revert "Fix tests for Cabal <= 1.16"
The problem the reverted commit tried to fix seems to have been just a
symptom of another root cause that was later fixed as the problem does
not seem to occur anymore even without this changeset also this
changeset broke cabal sandboxes with ghc < 7.8.

Fix #262

This reverts commit 8741323f5b.

Conflicts:
	Language/Haskell/GhcMod/GhcPkg.hs
2014-05-19 01:27:35 +02:00
Sami Niiranen
4037f5f8e1 Refactor error message for argument mismatch to be more generic
Previously an insufficient amount of arguments to e.g. the 'type' utility resulted in a "Too many arguments" feedback, which can be somewhat confusing. Now if the argument count does not match, a more generic error message is shown.
2014-05-18 10:53:32 +03:00
Kazu Yamamoto
fcc3b46415 defining C macro if not defined. 2014-05-16 09:27:23 +09:00
Kazu Yamamoto
e3ff15862f Merge pull request #257 from DanielG/dev-monad
Migrate Browse and Check to GhcMod monad
2014-05-15 10:45:54 +09:00
Daniel Gröber
2b4f780296 Add TestUtils to other-modules 2014-05-14 20:56:14 +02:00