@hackage these1
An either-or-both data type.
Installation
Tested Compilers
Dependencies (15)
- base >=4.5.1.0 && <4.13
- binary >=0.5.1.0 && <0.10
- deepseq >=1.3.0.0 && <1.5
- ghc-prim
- transformers >=0.4.2.0
- QuickCheck >=2.12.6.1 && <2.14 Show all…
Dependents (83)
@hackage/horname, @cardano/plutus-tx-plugin, @cardano/marlowe-chain-sync, @hackage/tinytools, @hackage/semialign-indexed, @hackage/cabal-plan, Show all…
Package Flags
aeson
(on by default)
Build with aeson dependency
assoc
(on by default)
Build with assoc dependency
semigroupoids
(on by default)
Build with semigroupoids dependency
quickcheck
(on by default)
Build with QuickCheck dependency
This package provides a data type These a b
which can hold a value of either
type or values of each type. This is usually thought of as an "inclusive or"
type (contrasting Either a b
as "exclusive or") or as an "outer join" type
(contrasting (a, b)
as "inner join").
data These a b = This a | That b | These a b
Since version 1, this package was split into parts:
semialign For
Align
andZip
type-classes.semialign-indexed For
SemialignWithIndex
class, providingialignWith
andizipWith
.these-lens For lens combinators.
monad-chronicle For transformers variant of
These
.