1 |
commit: 800b27cfe8e8478d3dea664b8cf72d8cd18fb69f |
2 |
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jul 27 17:04:37 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 3 07:21:54 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=800b27cf |
7 |
|
8 |
dev-haskell/options: remove unused patch |
9 |
|
10 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
11 |
|
12 |
.../options/files/options-1.2.1-ghc-7.10.patch | 24 ---------------------- |
13 |
1 file changed, 24 deletions(-) |
14 |
|
15 |
diff --git a/dev-haskell/options/files/options-1.2.1-ghc-7.10.patch b/dev-haskell/options/files/options-1.2.1-ghc-7.10.patch |
16 |
deleted file mode 100644 |
17 |
index 9578c92..0000000 |
18 |
--- a/dev-haskell/options/files/options-1.2.1-ghc-7.10.patch |
19 |
+++ /dev/null |
20 |
@@ -1,24 +0,0 @@ |
21 |
---- options-1.2.1-orig/lib/Options/Tokenize.hs 2014-12-14 16:34:53.000000000 +1100 |
22 |
-+++ options-1.2.1/lib/Options/Tokenize.hs 2015-01-02 00:14:05.390013340 +1100 |
23 |
-@@ -11,6 +11,7 @@ |
24 |
- , tokenize |
25 |
- ) where |
26 |
- |
27 |
-+import Control.Applicative |
28 |
- import Control.Monad.Error hiding (throwError) |
29 |
- import qualified Control.Monad.Error |
30 |
- import Control.Monad.State |
31 |
-@@ -53,6 +54,13 @@ |
32 |
- |
33 |
- newtype Tok a = Tok { unTok :: ErrorT String (StateT TokState Identity) a } |
34 |
- |
35 |
-+instance Functor Tok where |
36 |
-+ fmap = liftM |
37 |
-+ |
38 |
-+instance Applicative Tok where |
39 |
-+ pure = return |
40 |
-+ (<*>) = ap |
41 |
-+ |
42 |
- instance Monad Tok where |
43 |
- return = Tok . return |
44 |
- m >>= f = Tok (unTok m >>= unTok . f) |