packages feed

basic-sop-0.1.0.2: basic-sop.cabal

name:                basic-sop
version:             0.1.0.2
synopsis:            Basic examples and functions for generics-sop
description:
  This library contains various small examples of generic functions
  written using the @<https://hackage.haskell.org/package/generics-sop generics-sop>@
  library.
  .
  It is a good starting point if you want to see how generic functions
  can be defined in the SOP style.
  .
license:             BSD3
license-file:        LICENSE
author:              Edsko de Vries <edsko@well-typed.com>, Andres Löh <andres@well-typed.com>
maintainer:          edsko@well-typed.com
category:            Generics
build-type:          Simple
cabal-version:       >=1.10
tested-with:         GHC == 7.6.3, GHC == 7.8.2

source-repository head
  type:                git
  location:            https://github.com/well-typed/basic-sop

library
  exposed-modules:     Generics.SOP.Eq
                       Generics.SOP.Arbitrary
                       Generics.SOP.Show
                       Generics.SOP.Skeleton
                       Generics.SOP.NFData
  build-depends:       base                 >= 4.6  && < 5,
                       generics-sop         >= 0.1  && < 0.2,
                       text                 >= 1.1  && < 1.2,
                       QuickCheck           >= 2.7  && < 2.8,
                       deepseq              >= 1.3  && < 1.4
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall
  default-extensions:  ScopedTypeVariables
                       TypeFamilies
                       RankNTypes
                       TypeOperators
                       GADTs
                       ConstraintKinds
                       MultiParamTypeClasses
                       TypeSynonymInstances
                       FlexibleInstances
                       FlexibleContexts
                       DeriveFunctor
                       DeriveFoldable
                       DeriveTraversable
                       DefaultSignatures
                       KindSignatures
                       DataKinds
                       FunctionalDependencies
  if impl (ghc >= 7.8)
    default-extensions:  AutoDeriveTypeable
  other-extensions:    OverloadedStrings
                       OverlappingInstances
                       PolyKinds
                       UndecidableInstances
                       TemplateHaskell
                       CPP