From 5c21ea265f6d9efd01f5aff2e2ce3a5c55046572 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 27 Sep 2020 10:08:12 +0100 Subject: dev-haskell/attoparsec-enumerator: switch to EAPI=7 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich --- dev-haskell/attoparsec-enumerator/metadata.xml | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'dev-haskell/attoparsec-enumerator/metadata.xml') 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 @@ haskell@gentoo.org Gentoo Haskell - - 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 - -- cgit v1.2.3-65-gdbad