bytestring-lexing: Parse and produce literals efficiently from strict or lazy bytestrings.

[ bsd2, data, library ] [ Propose Tags ]
Versions 0.1,,, 0.1.2, 0.2, 0.2.1, 0.3.0, 0.4.0, 0.4.2, 0.4.3,,,, 0.5.0,,
Change log CHANGELOG
Dependencies array, base (<2.2 || >=3 && <5), bytestring [details]
License BSD-3-Clause
Copyright Copyright (c) 2012--2015 wren gayle romano, 2008--2011 Don Stewart
Author wren gayle romano, Don Stewart
Revised Revision 1 made by HerbertValerioRiedel at Sun Jul 9 23:20:57 UTC 2017
Category Data
Home page
Source repo head: darcs get
Uploaded by WrenThornton at Sat May 30 05:35:25 UTC 2015
Distributions Debian:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:, openSUSE:
Downloads 17362 total (107 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-06-03 [all 1 reports]
Hackage Matrix CI

Parse and produce literals efficiently from strict or lazy bytestrings.

Some benchmarks for this package can be found at:

[Skip to Readme]





base-4.0 emits "Prelude deprecated" messages in order to get people to be explicit about which version of base they use.


base-3.0 (GHC 6.8) broke out the packages: array, bytestring, containers, directory, old-locale, old-time, packedstring, pretty, process, random.


The bytestring library was included in base-2.0 and base-2.1.1, but for base-1.0 and base-3.0 it was a separate package.


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees

Readme for bytestring-lexing-

[back to package description]

This is a relatively simple package and should be easy to install.
It requires Alex for generating the Double lexers. Once that is
installed, you should be able to use one of the following standard
methods to install it.

    -- With cabal-install and without the source:
    $> cabal install bytestring-lexing
    -- With cabal-install and with the source already:
    $> cd bytestring-lexing
    $> cabal install
    -- Without cabal-install, but with the source already:
    $> cd bytestring-lexing
    $> runhaskell Setup.hs configure --user
    $> runhaskell Setup.hs build
    $> runhaskell Setup.hs test
    $> runhaskell Setup.hs haddock --hyperlink-source
    $> runhaskell Setup.hs copy
    $> runhaskell Setup.hs register

The test step is optional and currently does nothing. The Haddock
step is also optional.


An attempt has been made to keep this library portable. However,
it relies on some language extensions which have been accepted into
the Haskell standard following the Haskell98 report. All the required
language extensions are:


----------------------------------------------------------- fin.