@hackage these1.1
An either-or-both data type.
Installation
Tested Compilers
Dependencies (11)
- assoc >=1 && <1.1
- base >=4.5.1.0 && <4.15
- base-compat >=0.10.5 && <0.12
- bifunctors >=5.5.4 && <5.6
- binary >=0.5.1.0 && <0.10
- deepseq >=1.3.0.0 && <1.5 Show all…
Dependents (93)
@hackage/Cabal, @hackage/dataframe, @hackage/horname, @cardano/plutus-tx-plugin, @cardano/marlowe-chain-sync, @hackage/tinytools, Show all…
Package Flags
assoc
(on by default)
Build with assoc 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
AlignandZiptype-classes.semialign-indexed For
SemialignWithIndexclass, providingialignWithandizipWith.these-lens For lens combinators.
monad-chronicle For transformers variant of
These.