Skip to content

Commit

Permalink
dev-haskell/frown: port to ghc-7.8, bug #524790
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.20
  • Loading branch information
Sergei Trofimovich committed Sep 20, 2015
1 parent 547b5ec commit ae817ee
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dev-haskell/frown/files/frown-0.6.1-ghc-7.10.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ae817ee

Please sign in to comment.