This repository has been archived by the owner on Jan 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
liqwid-plutarch-extra.cabal
207 lines (187 loc) · 4.53 KB
/
liqwid-plutarch-extra.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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
cabal-version: 3.0
name: liqwid-plutarch-extra
version: 3.20.2
synopsis: A collection of Plutarch extras from Liqwid Labs
description: Several useful data types and functions for Plutarch.
homepage: https://github.com/Liqwid-Labs/liqwid-plutarch-extra
bug-reports: https://github.com/Liqwid-Labs/liqwid-plutarch-extra/issues
license: Apache-2.0
license-file: LICENSE
author: Koz Ross
maintainer: Koz Ross <[email protected]>
copyright: (C) 2022 Liqwid Labs
category: Test
build-type: Simple
tested-with: GHC ==9.2.5
extra-source-files:
LICENSE
README.md
source-repository head
type: git
location: https://github.com/Liqwid-Labs/liqwid-plutarch-extra
-- Common sections
common common-lang
ghc-options:
-Wall -Wcompat -Wincomplete-uni-patterns
-Wincomplete-record-updates -Wredundant-constraints
-Wmissing-export-lists -Wmissing-deriving-strategies -Werror
-Wno-partial-type-signatures
mixins:
base hiding (Prelude),
pprelude (PPrelude as Prelude)
build-depends:
, base ^>=4.16
, plutarch
, plutus-ledger-api
, plutus-tx
, pprelude
default-extensions:
NoStarIsType
BangPatterns
BinaryLiterals
ConstraintKinds
DataKinds
DeriveAnyClass
DeriveGeneric
DeriveTraversable
DerivingVia
DuplicateRecordFields
EmptyCase
FlexibleContexts
FlexibleInstances
GeneralisedNewtypeDeriving
HexFloatLiterals
ImportQualifiedPost
InstanceSigs
KindSignatures
LambdaCase
MultiParamTypeClasses
NumericUnderscores
OverloadedLabels
OverloadedStrings
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeApplications
TypeFamilies
TypeOperators
UndecidableInstances
NoFieldSelectors
default-language: Haskell2010
-- Libraries
library pprelude
default-language: Haskell2010
exposed-modules: PPrelude
hs-source-dirs: src
build-depends:
, base
, plutarch
library
import: common-lang
exposed-modules:
Plutarch.Extra.Applicative
Plutarch.Extra.AssetClass
Plutarch.Extra.Bind
Plutarch.Extra.Bool
Plutarch.Extra.Boring
Plutarch.Extra.Category
Plutarch.Extra.Comonad
Plutarch.Extra.Compile
Plutarch.Extra.Const
Plutarch.Extra.DebuggableScript
Plutarch.Extra.Deriving
Plutarch.Extra.ExchangeRate
Plutarch.Extra.ExtendedAssetClass
Plutarch.Extra.Field
Plutarch.Extra.Fixed
Plutarch.Extra.FixedDecimal
Plutarch.Extra.Function
Plutarch.Extra.Functor
Plutarch.Extra.Identity
Plutarch.Extra.IsData
Plutarch.Extra.List
Plutarch.Extra.Map
Plutarch.Extra.Monoid
Plutarch.Extra.MultiSig
Plutarch.Extra.Numeric
Plutarch.Extra.Optics
Plutarch.Extra.Ord
Plutarch.Extra.Precompile
Plutarch.Extra.Profunctor
Plutarch.Extra.Rational
Plutarch.Extra.Record
Plutarch.Extra.Script
Plutarch.Extra.ScriptContext
Plutarch.Extra.Star
Plutarch.Extra.State
Plutarch.Extra.StateThread
Plutarch.Extra.Sum
Plutarch.Extra.Tagged
Plutarch.Extra.TermCont
Plutarch.Extra.These
Plutarch.Extra.Time
Plutarch.Extra.Traversable
Plutarch.Extra.Tuple
Plutarch.Extra.Value
Plutarch.Numeric.Additive
Plutarch.Orphans
build-depends:
, aeson
, base16-bytestring
, bytestring
, composition-prelude
, containers
, data-default
, deepseq
, generics-sop
, lens
, mtl
, optics-core
, optics-th
, plutarch-extra
, plutarch-quickcheck
, plutus-core
, ply-core
, ply-plutarch
, QuickCheck
, serialise
, tagged
, text
, vector
hs-source-dirs: src
-- Test suite
test-suite test
import: common-lang
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
FunctorProp
NumericProp
OrdProp
TraversableProp
build-depends:
, liqwid-plutarch-extra
, plutarch-extra
, plutarch-quickcheck
, QuickCheck
, tasty
, tasty-quickcheck
ghc-options: -O2 -threaded -rtsopts -with-rtsopts=-N
hs-source-dirs: test
-- Benchmarks
benchmark sorting
import: common-lang
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
PComparator
POrdering
build-depends:
, data-default
, liqwid-plutarch-extra
, plutus-core
, tagged
, tasty
, text
ghc-options: -O2 -threaded -rtsopts -with-rtsopts=-N
hs-source-dirs: bench/sorting