packages feed

basic-sop-0.3.0: basic-sop.cabal

name:                basic-sop
version:             0.3.0
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:          andres@well-typed.com
category:            Generics
build-type:          Simple
cabal-version:       1.24
extra-doc-files:     CHANGELOG.md
tested-with:         GHC==8.10.7, GHC==9.0.2, GHC==9.2.8, GHC==9.4.7, GHC==9.6.3, GHC==9.8.1

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.2.3  && < 0.6,
                       text                 >= 1.1    && < 2.2,
                       QuickCheck           >= 2.7    && < 2.15,
                       deepseq              >= 1.3    && < 1.6
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall
  default-extensions:  CPP
                       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