packages feed

string-combinators-0.2: string-combinators.cabal

Name:                   string-combinators
Version:                0.2
Synopsis:               Polymorphic functions to build and combine stringlike values
Description:            string-combinators provides handy polymorphic functions
                        to build and combine stringlike values.
                        .
                        All functions are polymorphic in their string type
                        but usually have a Monoid or IsString constraint.
                        .
                        Conditionally a module Data.String.Stringable is provided.
                        This module exports a typeclass Stringable
                        for converting values to and from Strings.
                        A bunch of instances is defined
                        for some common stringlike types.
Category:               Data
License:                BSD3
License-file:           LICENSE
Author:                 Bas van Dijk <v.dijk.bas@gmail.com>
Maintainer:             Bas van Dijk <v.dijk.bas@gmail.com>
Copyright:              2009 Bas van Dijk <v.dijk.bas@gmail.com>
Cabal-version:          >= 1.6
Build-Type:             Simple
Stability:              experimental

Source-repository head
  Type:     darcs
  Location: http://code.haskell.org/~basvandijk/code/string-combinators/

Flag Stringable
  Description: Include the Data.String.Stringable module

Library
  Build-Depends:        base
  Exposed-modules:      Data.String.Combinators

  if flag(Stringable)
    Build-Depends:      bytestring, dstring, text, pretty
    Exposed-modules:    Data.String.Stringable

  Ghc-options:          -O2 -Wall