Releases: natefaubion/purescript-variant
Releases · natefaubion/purescript-variant
v5.0.0
- Updated for 0.12
Bounded
,Enum
, andBoundedEnum
instances forVariant
(@cryogenian).
v4.1.0
v4.0.0
- Added
onMatch
combinator for partial matching with records, which can be used just likeon
. - Added
Show
instance forVariantF
. - More efficient internal rep for
VariantF
.
Breaking changes
- The constraints for
match
have changed, which hopefully won't actually break anything, but you never know.
v3.2.1
- Fix compiler warning
v3.2.0
Show
instance forData.Variant
.
v3.1.0
- Add record elimination via
match
(@MonoidMusician)
v3.0.0
- Generalize some functions to take
Alternative
instead of working onMaybe
(@cryogenian) - Use shared
Contractable
class (@cryogenian)
v2.1.0
- Added
expand
andcontract
toData.Variant
for casting between subsets.
v2.0.0
Eq
andOrd
instances forData.Variant
based onRowToList
(requiresv0.11.6
).
v1.1.0
- Added
Data.Functor.Variant
for coproducts.