diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-09-27 10:08:12 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-09-27 10:08:12 +0100 |
commit | 5c21ea265f6d9efd01f5aff2e2ce3a5c55046572 (patch) | |
tree | 37729c31eb2322c634c164117c99ee1d6fcffdd4 /dev-haskell/attoparsec-enumerator/metadata.xml | |
parent | dev-haskell/attoparsec-conduit: switch to EAPI=7 (diff) | |
download | gentoo-5c21ea265f6d9efd01f5aff2e2ce3a5c55046572.tar.gz gentoo-5c21ea265f6d9efd01f5aff2e2ce3a5c55046572.tar.bz2 gentoo-5c21ea265f6d9efd01f5aff2e2ce3a5c55046572.zip |
dev-haskell/attoparsec-enumerator: switch to EAPI=7
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/attoparsec-enumerator/metadata.xml')
-rw-r--r-- | dev-haskell/attoparsec-enumerator/metadata.xml | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/dev-haskell/attoparsec-enumerator/metadata.xml b/dev-haskell/attoparsec-enumerator/metadata.xml index 4f48a5c05d4f..b7878815d80d 100644 --- a/dev-haskell/attoparsec-enumerator/metadata.xml +++ b/dev-haskell/attoparsec-enumerator/metadata.xml @@ -5,28 +5,4 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This library allows an Attoparsec parser to receive input incrementally - from an enumerator. This could be used for parsing large files, or - implementing binary network protocols. - - > (-# LANGUAGE OverloadedStrings #-) - > - > import Control.Applicative - > import Data.Attoparsec - > import Data.Attoparsec.Enumerator - > import Data.Enumerator - > import Data.Enumerator.Binary (enumHandle) - > import Data.Enumerator.List - > import System.IO - > - > parser = string "foo" <|> string "bar" - > - > main = do - > xy <- run_ (enumHandle 1 stdin $$ do - > x <- iterParser parser - > y <- iterParser parser - > return (x, y)) - > print xy - </longdescription> </pkgmetadata> |