haskus-utils-variant-3.0: Variant and EADT
Haskus.Utils.Variant.Syntax
Description
Rebindable syntax for Variant
(>>=) :: forall x xs ys. KnownNat (Length ys) => V (x ': xs) -> (x -> V ys) -> V (Concat ys xs) Source #
(>>) :: V xs -> V ys -> V (Concat ys xs) Source #
return :: x -> V '[x] Source #