json-autotype-0.2.5.3: Automatic type declaration for JSON input data
Data.Aeson.AutoType.Alternative
data a :|: b infixr 5 Source
Constructors
Instances
toEither :: (a :|: b) -> Either a b Source
fromEither :: Either a b -> a :|: b Source
alt :: (a -> c) -> (b -> c) -> (a :|: b) -> c Source