packages feed

validation-0.4.2: validation.cabal

name:               validation
version:            0.4.2
license:            BSD3
license-file:       LICENSE
author:             Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ> <dibblego>, Nick Partridge <nkpart>
maintainer:         Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ> <dibblego>, Nick Partridge <nkpart>
copyright:          Copyright (C) 2014 NICTA Limited
synopsis:           A data-type like Either but with an accumulating Applicative
category:           Data
description:        
  <<http://i.imgur.com/Ns5hntl.jpg>>
  .
  A data-type like Either but with an accumulating Applicative
homepage:           https://github.com/tonymorris/validation
bug-reports:        https://github.com/tonymorris/validation/issues
cabal-version:      >= 1.10
build-type:         Custom
extra-source-files: changelog

source-repository   head
  type:             git
  location:         git@github.com:tonymorris/validation.git

flag                small_base
  description:      Choose the new, split-up base package.

library
  default-language:
                    Haskell2010

  build-depends:
                      base < 5 && >= 3
                    , semigroups >= 0.8
                    , semigroupoids >= 4.0
                    , bifunctors >= 3.0
                    , lens >= 4.0
                    , transformers >= 0.3.0.0

  ghc-options:
                    -Wall

  default-extensions:
                      NoImplicitPrelude

  hs-source-dirs:
                    src

  exposed-modules:
                    Data.Validation

test-suite doctests
  type:
                    exitcode-stdio-1.0

  main-is:
                    doctests.hs

  default-language:
                    Haskell2010

  build-depends:
                      base < 5 && >= 3
                    , doctest >= 0.9.7
                    , filepath >= 1.3
                    , directory >= 1.1
                    , QuickCheck >= 2.0
                    , template-haskell >= 2.8

  ghc-options:
                    -Wall
                    -threaded

  hs-source-dirs:
                    test