packages feed

freelude-0.1.0.1: freelude.cabal

name:                freelude
version:             0.1.0.1
synopsis:            A generalisation of the Category->Functor->Applicative->Monad hierarchy and more
description:
  This package generalises classes like Category, Functor etc to allow them to be defined on more data types,
  for example, tuples and sets, whilst still attempting to maintain backward compatability.

  See the module "Freelude" for more details.
homepage:            https://github.com/clintonmead/freelude#readme
license:             BSD3
license-file:        LICENSE
author:              Clinton Mead
maintainer:          clintonmead@gmail.com
copyright:           Copyright: (c) 2017 Clinton Mead
category:            Web
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10
tested-with:         GHC == 8.2
library
  hs-source-dirs:      src
  exposed-modules:
    Freelude
    Freelude.FunctionRestrictedFunctor
    Freelude.Impl.Category
    Freelude.Impl.CategoryAsMonoid
    Freelude.Impl.ExoFunctor
    Freelude.Impl.MonoidAsCategory
    Freelude.Impl.MakeFunctor
    Freelude.Impl.RestrictedFunctor
    Freelude.Impl.ToKind
  build-depends:       base == 4.10.*, indextype == 0.3.*, containers, transformers, array
  default-language:    Haskell2010
  ghc-options: -Wall -fprint-explicit-kinds

test-suite test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test, src
  main-is:             Test.hs
  other-modules:
    Freelude
    Freelude.FunctionRestrictedFunctor
    Freelude.Impl.Category
    Freelude.Impl.CategoryAsMonoid
    Freelude.Impl.ExoFunctor
    Freelude.Impl.MonoidAsCategory
    Freelude.Impl.MakeFunctor
    Freelude.Impl.RestrictedFunctor
    Freelude.Impl.ToKind
  build-depends:       base == 4.10.*, indextype == 0.3.*, containers, transformers, array
  ghc-options:         -Wall -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

test-suite doctests
  type:          exitcode-stdio-1.0
  hs-source-dirs:      test, src
  ghc-options:   -threaded
  main-is:       DocTest.hs
  build-depends: base == 4.10.*, doctest >= 0.8
  default-language: Haskell2010

source-repository head
  type:     git
  location: https://github.com/clintonmead/freelude