gienah 15/06/01 08:44:55 Added: asn1-data-0.7.1-ghc-7.10.patch Log: Thanks to Sergei Trofimovich (slyfox) for patching asn1-data-0.7.1-r1 for ghc 7.10.1 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 618E971F)
Revision Changes Path 1.1 dev-haskell/asn1-data/files/asn1-data-0.7.1-ghc-7.10.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/asn1-data/files/asn1-data-0.7.1-ghc-7.10.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/asn1-data/files/asn1-data-0.7.1-ghc-7.10.patch?rev=1.1&content-type=text/plain Index: asn1-data-0.7.1-ghc-7.10.patch =================================================================== diff --git a/Data/ASN1/Parse.hs b/Data/ASN1/Parse.hs index eeea2be..83bc80e 100644 --- a/Data/ASN1/Parse.hs +++ b/Data/ASN1/Parse.hs @@ -24 +24 @@ import Control.Monad.Error -import Control.Applicative ((<$>)) +import Control.Applicative ((<$>), Applicative) @@ -25,7 +25,7 @@ import Control.Applicative ((<$>)) -- | Parse ASN1 Monad newtype ParseASN1 a = P { runP :: ErrorT String (State [ASN1]) a } - deriving (Functor, Monad, MonadError String) + deriving (Functor, Applicative, Monad, MonadError String) -- | run the parse monad over a stream and returns the result and the remaining ASN1 Stream. runParseASN1State :: ParseASN1 a -> [ASN1] -> Either String (a,[ASN1])
