-- Initial type-iso.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

name:                type-iso
version:             0.1.0.0
synopsis:            Typeclasses for injective relations and isomorphisms between types.
description:         This package defines \"can be cast to\" relations between types: two types a and b are an instance of Injective if there's an injective function from a to b. If there is also an injective function from b to a, a and b are instances of Iso, meaning that one can convert back and forth losslessly (up to some appropriate notion of equality). The main purpose of this little package is to provide easy casting between the common string types (String, strict/lazy Text) and numeric types (Integers, Peano numbers), without having to look up the names of the various conversion functions all the time.
homepage:            https://github.com/ombocomp/type-iso
license:             Apache-2.0
license-file:        LICENSE.md
author:              Janos Tapolczai
maintainer:          janos.tapolczai@gmail.com
category:            Data, Cast, Types
build-type:          Simple
cabal-version:       >=1.10

source-repository head
  type:     git
  location: https://github.com/ombocomp/type-iso.git

library
  exposed-modules:     Data.Types.Isomorphic, Data.Types.Injective
  other-extensions:    MultiParamTypeClasses, FlexibleInstances, FlexibleContexts
  build-depends:       base >=4.7 && <5, nats >=0.2, text >=1.1, numericpeano >= 0.2, data-default >= 0.5
  default-language:    Haskell2010