diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2015-09-20 13:50:46 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2015-09-20 19:50:00 +0100 |
commit | ae817ee6eaf5c1c919a13e523e7c5b78ca0fd38a (patch) | |
tree | 1d1e4b3d29337230ec47d0b740bb77a7c6cf1b6c /dev-haskell/frown | |
parent | dev-haskell/text-icu: amd64 x86 stable, bug #524790 (diff) | |
download | gentoo-ae817ee6eaf5c1c919a13e523e7c5b78ca0fd38a.tar.gz gentoo-ae817ee6eaf5c1c919a13e523e7c5b78ca0fd38a.tar.bz2 gentoo-ae817ee6eaf5c1c919a13e523e7c5b78ca0fd38a.zip |
dev-haskell/frown: port to ghc-7.8, bug #524790
Package-Manager: portage-2.2.20
Diffstat (limited to 'dev-haskell/frown')
-rw-r--r-- | dev-haskell/frown/files/frown-0.6.1-ghc-7.10.patch | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-haskell/frown/files/frown-0.6.1-ghc-7.10.patch b/dev-haskell/frown/files/frown-0.6.1-ghc-7.10.patch index 7ba54070eb95..119f2260b83e 100644 --- a/dev-haskell/frown/files/frown-0.6.1-ghc-7.10.patch +++ b/dev-haskell/frown/files/frown-0.6.1-ghc-7.10.patch @@ -38,6 +38,10 @@ diff --git a/Convert.lhs b/Convert.lhs index 01d2c32..d31f437 100644 --- a/Convert.lhs +++ b/Convert.lhs +@@ -50,2 +50,3 @@ + > import Control.Monad ++> import Control.Applicative + > import System.IO hiding ( isEOF ) @@ -235,2 +235,9 @@ Writer monad for collecting multiple error messages. +> instance Functor (Writer w) where @@ -104,6 +108,10 @@ diff --git a/Lib/OrdUniqListSet.lhs b/Lib/OrdUniqListSet.lhs index ddb8629..decf65d 100644 --- a/Lib/OrdUniqListSet.lhs +++ b/Lib/OrdUniqListSet.lhs +@@ -63,2 +63,3 @@ + > import Control.Monad ++> import Control.Applicative (Applicative, pure, (<*>)) + @@ -114,2 +114,6 @@ Yes, \tr{Set} is a functor and a monad. > +> instance Applicative Set where |