/var/lib/ghc/package.conf.d/attoparsec-enumerator-0.3.1.conf is in libghc-attoparsec-enumerator-dev 0.3.1-3build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | name: attoparsec-enumerator
version: 0.3.1
id: attoparsec-enumerator-0.3.1-f4fb0a1831d18b63eb3a7ec37a0cda91
license: MIT
copyright:
maintainer: John Millikin <jmillikin@gmail.com>
stability: experimental
homepage: https://john-millikin.com/software/attoparsec-enumerator/
package-url:
synopsis: Pass input from an enumerator to an Attoparsec parser.
description: 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
category: Text, Parsing, Enumerator
author: John Millikin <jmillikin@gmail.com>
exposed: True
exposed-modules: Data.Attoparsec.Enumerator
hidden-modules:
trusted: False
import-dirs: /usr/lib/haskell-packages/ghc/lib/attoparsec-enumerator-0.3.1/ghc-7.6.3
library-dirs: /usr/lib/haskell-packages/ghc/lib/attoparsec-enumerator-0.3.1/ghc-7.6.3
hs-libraries: HSattoparsec-enumerator-0.3.1
extra-libraries:
extra-ghci-libraries:
include-dirs:
includes:
depends: attoparsec-0.10.4.0-d9fd97cfc1a1748b3cde35adf7fd233b
base-4.6.0.1-8aa5d403c45ea59dcd2c39f123e27d57
bytestring-0.10.0.2-4f93248f75667c2c3321a7a6761b576f
enumerator-0.4.19-13fa8f89bd8effdb12c1bcec44c8658a
text-0.11.3.1-e38859e86485c167fa7c9441789e7607
hugs-options:
cc-options:
ld-options:
framework-dirs:
frameworks:
haddock-interfaces: /usr/lib/ghc-doc/haddock/attoparsec-enumerator-0.3.1/attoparsec-enumerator.haddock
haddock-html: /usr/share/doc/libghc-attoparsec-enumerator-doc/html/
|