grisette-0.7.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 HaskellSafe-Inferred
LanguageHaskell2010

Grisette.Lib.Data.Functor.Sum

Description

 
Synopsis

Documentation

mrgInR :: forall (k :: Type) (f :: k -> Type) (g :: k -> Type) (a :: k) m. (Mergeable (Sum f g a), Applicative m, TryMerge m) => g a -> m (Sum f g a) Source #

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

mrgInL :: forall (k :: Type) (f :: k -> Type) (g :: k -> Type) (a :: k) m. (Mergeable (Sum f g a), Applicative m, TryMerge m) => f a -> m (Sum f g a) Source #

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