Permalink
Switch branches/tags
Commits on Apr 23, 2017
  1. Merge pull request #18 from ezyang/master

    Demonstration of how to Backpack'ify this package.
    committed on GitHub Apr 23, 2017
Commits on May 5, 2016
  1. Demonstration of how to Backpack'ify this package.

    In this Reddit thread
    https://www.reddit.com/r/haskell/comments/28v6c9/backpack_an_mllike_module_system_for_haskell/cif36ed
    @chrisdone mentioned tagstream-conduit as an example of a place where
    lack of parametrized modules made it a bit annoying to write
    entity parsing code that worked for both Text and ByteString.
    
    In this commit, I give a refactoring of tagstream-conduit which
    uses Backpack to the module encoding tricks and duplication.
    The key component, entities/Entities.hs, is parametrized over the
    type of String, Builder and Parser you want to use.  This
    eliminates the duplication between Text/HTML/TagStream/ByteString.hs
    and Text/HTML/TagStream/Text.hs, which are now just reexports of
    appropriately instantiated versions of Entities.
    
    There are three internal libraries:
    
        - 'types' defines common data types and "shim" modules for
          ByteString and Text.  (If I can convince text/bytestring
          to standardize naming for all their functions, I can
          reduce/eliminate these shim modules.)
        - 'entities' is the parametrized component, parametrized
          over the Str, Builder and Parser modules (the signatures
          required for these modules are in the hsig files.)
        - 'tagstream-conduit' is the main library and exposes the
          same outward facing interface as the old library.
    
    Please take a look at the refactoring and let me know how you
    like it; unfortunately, you'll need my development branches of
    Cabal and GHC to actually build this package. In
    particular, supposing that Backpack was supported on all
    the versions of GHC/Cabal you wanted to target, would you
    use this? What do you like/dislike about the system?
    
    Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
    ezyang committed May 5, 2016
Commits on Nov 19, 2015
  1. remove markdown read

    committed Nov 19, 2015
  2. add gitter to rst

    committed Nov 19, 2015
Commits on Oct 8, 2014
  1. Merge pull request #16 from gitter-badger/gitter-badge

    Add a Gitter chat badge to README.md
    committed Oct 8, 2014
  2. Added Gitter badge

    gitter-badger committed Oct 8, 2014
Commits on Sep 5, 2014
  1. must set upper bound of base

    committed Sep 5, 2014
  2. loose attoparsec constraint

    committed Sep 5, 2014
  3. upgrade dependencies

    committed Sep 5, 2014
Commits on Aug 28, 2014
  1. Merge pull request #14 from snoyberg/master

    Allow conduit 1.2
    committed Aug 28, 2014
Commits on Aug 27, 2014
  1. Allow conduit 1.2

    snoyberg committed Aug 27, 2014
Commits on Mar 28, 2014
  1. Merge pull request #12 from snoyberg/master

    conduit 1.1 support
    committed Mar 28, 2014
Commits on Mar 27, 2014
  1. Fix tests

    snoyberg committed Mar 27, 2014
  2. conduit 1.1 support

    snoyberg committed Mar 27, 2014
Commits on Feb 4, 2014
  1. boost version

    committed Feb 4, 2014
Commits on Feb 1, 2014
  1. fix redundant import warning

    committed Feb 1, 2014
  2. Merge pull request #11 from chrisdone/entity_decoding

    Entity decoding in Text tokens
    committed Feb 1, 2014
Commits on Jan 31, 2014
  1. Remove redundant constraints

    chrisdone committed Jan 31, 2014
Commits on Jan 28, 2014
  1. Streaming decodeEntities

    snoyberg committed with chrisdone Jan 28, 2014
  2. Add HTML entity decoding

    chrisdone committed Jan 27, 2014
Commits on Oct 21, 2013
Commits on Mar 20, 2013
  1. Merge pull request #9 from snoyberg/master

    Allow transformers 0.2
    committed Mar 20, 2013
  2. Allow older transformers

    snoyberg committed Mar 20, 2013
Commits on Feb 18, 2013
  1. Merge pull request #8 from snoyberg/master

    conduit 1.0 support (about to be released)
    committed Feb 18, 2013
Commits on Feb 13, 2013
  1. producer branch of conduit

    snoyberg committed Feb 13, 2013
Commits on Feb 10, 2013
  1. conduit 1.0

    snoyberg committed Feb 10, 2013
Commits on Oct 13, 2012
  1. bump version to 0.5.4

    committed Oct 13, 2012
  2. Test tokenStreamBS

    committed Oct 13, 2012
  3. Fix dependency and cabal files.

    committed Oct 13, 2012
Commits on Sep 16, 2012
  1. version bump

    committed Sep 16, 2012
  2. Merge pull request #7 from sol/master

    Depend on hspec >= 1.3
    committed Sep 16, 2012