-
Notifications
You must be signed in to change notification settings - Fork 1
/
sweet-egison.cabal
136 lines (120 loc) · 3.65 KB
/
sweet-egison.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
cabal-version: 2.0
name: sweet-egison
version: 0.1.1.3
synopsis:
Shallow embedding implementation of non-linear pattern matching
description:
The [sweet-egison](https://hackage.haskell.org/package/sweet-egison) is a shallow embedding implementation of non-linear pattern matching with extensible and polymorphic patterns.
In other words, this implements [Egison](https:///www.egison.org) pattern matching in Haskell by desugaring pattern expressions.
This library provides a base of the Pattern-Match-Oriented (PMO) programming style for Haskell users at a practical level of efficiency.
bug-reports: https://github.com/egison/sweet-egison/issues
homepage: https://github.com/egison/sweet-egison#readme
license: BSD3
license-file: LICENSE
author: coord_e
maintainer: coord_e <[email protected]>, Satoshi Egi <[email protected]>
copyright: Copyright 2020 coord_e
category: Control, Pattern
build-type: Simple
extra-source-files:
CHANGELOG.md
README.md
-- see .github/workflows
tested-with: GHC ==8.6.2 || ==8.6.5 || ==8.8.1
source-repository head
type: git
location: https://github.com/egison/sweet-egison
library
hs-source-dirs: src
exposed-modules:
Control.Egison
Control.Egison.Match
Control.Egison.Matcher
Control.Egison.Matcher.Collection
Control.Egison.Matcher.Pair
Control.Egison.QQ
build-depends:
backtracking ^>=0.1
, base >=4.8 && <5
, egison-pattern-src ^>=0.2.1
, egison-pattern-src-th-mode ^>=0.2.1
, haskell-src-exts
, haskell-src-meta
, logict ^>=0.7.0
, template-haskell
, transformers
ghc-options:
-O3 -Wunused-local-binds -Wunused-imports -Wunused-matches -Wcompat
-Widentities -Wincomplete-record-updates -Wunused-pattern-binds
-Wincomplete-uni-patterns -Wmissing-methods -Wmissing-signatures
default-language: Haskell2010
default-extensions:
AllowAmbiguousTypes
DataKinds
DefaultSignatures
DerivingStrategies
ExplicitForAll
FlexibleContexts
FlexibleInstances
GeneralizedNewtypeDeriving
LambdaCase
MultiParamTypeClasses
NamedFieldPuns
PolyKinds
QuasiQuotes
RankNTypes
ScopedTypeVariables
StandaloneDeriving
TemplateHaskell
TupleSections
TypeFamilies
TypeOperators
test-suite test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: test.hs
ghc-options:
-Wall -threaded -rtsopts -with-rtsopts=-N -Wno-type-defaults
default-language: Haskell2010
build-depends:
base
, primes
, sweet-egison
, tasty
, tasty-hunit
default-extensions:
GADTs
QuasiQuotes
TemplateHaskell
TypeApplications
-- cabal-fmt: expand test
other-modules: Control.EgisonSpec
build-tool-depends: tasty-discover:tasty-discover -any
benchmark comb2
type: exitcode-stdio-1.0
hs-source-dirs: benchmark
main-is: comb2.hs
ghc-options: -O3 -Wall -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
build-depends:
base
, criterion
, sweet-egison
default-extensions:
QuasiQuotes
TemplateHaskell
TypeApplications
benchmark perm2
type: exitcode-stdio-1.0
hs-source-dirs: benchmark
main-is: perm2.hs
ghc-options: -O3 -Wall -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
build-depends:
base
, criterion
, sweet-egison
default-extensions:
QuasiQuotes
TemplateHaskell
TypeApplications