basic-sop-0.3.1: basic-sop.cabal
cabal-version: 2.2
name: basic-sop
version: 0.3.1
synopsis: Basic examples and functions for generics-sop
license: BSD-3-Clause
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
extra-doc-files: CHANGELOG.md
tested-with: GHC==8.10.7
, GHC==9.0.2
, GHC==9.2.8
, GHC==9.4.8
, GHC==9.6.7
, GHC==9.8.4
, GHC==9.10.3
, GHC==9.12.4
, GHC==9.14.1
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.
.
common lang
build-depends: base >= 4.6 && < 5
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) && impl (ghc < 8.2)
default-extensions: AutoDeriveTypeable
source-repository head
type: git
location: https://github.com/well-typed/basic-sop
library
import: lang
hs-source-dirs: src
exposed-modules:
Generics.SOP.Eq
Generics.SOP.Arbitrary
Generics.SOP.Show
Generics.SOP.Skeleton
Generics.SOP.NFData
build-depends:
, generics-sop >= 0.2.3 && < 0.6
, text >= 1.1 && < 2.2
, QuickCheck >= 2.7 && < 2.20
, deepseq >= 1.3 && < 1.7