grisette-0.11.0.0: Symbolic evaluation as a library
Copyright(c) Sirui Lu 2021-2023
LicenseBSD-3-Clause (see the LICENSE file)
Maintainersiruilu@cs.washington.edu
StabilityExperimental
PortabilityGHC only
Safe HaskellNone
LanguageHaskell2010

Grisette.Lib.Data.Either

Description

 
Synopsis

Documentation

mrgLeft :: (Mergeable (Either a b), Applicative m, TryMerge m) => a -> m (Either a b) Source #

Smart constructor for Left to construct values wrapped and possibly merged in a container.

mrgRight :: (Mergeable (Either a b), Applicative m, TryMerge m) => b -> m (Either a b) Source #

Smart constructor for Right to construct values wrapped and possibly merged in a container.