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.Functor.Sum

Description

 
Synopsis

Documentation

mrgInR :: forall k (f :: k -> Type) g (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 f (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.