-
Notifications
You must be signed in to change notification settings - Fork 5
/
unfoldable.cabal
69 lines (60 loc) · 1.96 KB
/
unfoldable.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
cabal-version: >= 1.10
name: unfoldable
version: 1.0.1
synopsis: Class of data structures that can be unfolded.
description: Just as there's a Foldable class, there should also be an Unfoldable class.
.
This package provides one. Example unfolds are:
.
* Random values
.
* Enumeration of all values (depth-first or breadth-first)
.
* Convert from a list
.
Some examples can be found in the examples directory.
homepage: https://github.com/sjoerdvisscher/unfoldable
bug-reports: https://github.com/sjoerdvisscher/unfoldable/issues
license: BSD3
license-file: LICENSE
author: Sjoerd Visscher
maintainer: [email protected]
category: Generics
build-type: Simple
tested-with: GHC==9.0.1, GHC==8.10.2, GHC==8.8.4
extra-Source-Files:
CHANGELOG.md
examples/*.hs
src/Data/Triunfoldable.hs
library
hs-source-dirs: src
default-language: Haskell2010
exposed-modules:
Data.Unfolder
Data.Unfoldable
Data.Biunfoldable
build-depends:
base >= 4 && < 5
, containers >= 0.5 && < 0.7
, transformers >= 0.4 && < 0.6
, random >= 1.0 && < 1.3
, QuickCheck >= 2.7.3 && < 3.0
if impl(ghc >= 7.6) && impl(ghc < 9)
cpp-options: -DGENERICS
build-depends:
ghc-prim >= 0.2
, one-liner >= 0.9 && < 2.0
if impl(ghc >= 9.0)
cpp-options: -DGENERICS
build-depends:
ghc-prim >= 0.2
, one-liner >= 2.0 && < 3.0
other-extensions:
GeneralizedNewtypeDeriving
, RankNTypes
, Safe
, Trustworthy
, CPP
source-repository head
type: git
location: git://github.com/sjoerdvisscher/unfoldable.git