syntactic-3.7: Generic representation and manipulation of abstract syntax
Language.Syntactic.Sugar.Monad
Contents
Description
Syntactic instance for Remon for domains based on Binding
Syntactic
Remon
Binding
Synopsis
sugarMonad :: (Binding :<: sym, MONAD m :<: sym) => ASTF sym (m a) -> Remon sym m (ASTF sym a) Source #
One-layer sugaring of monadic actions
Associated Types
type Domain (Remon sym m a) :: * -> * Source #
type Internal (Remon sym m a) :: * Source #
Methods
desugar :: Remon sym m a -> ASTF (Domain (Remon sym m a)) (Internal (Remon sym m a)) Source #
sugar :: ASTF (Domain (Remon sym m a)) (Internal (Remon sym m a)) -> Remon sym m a Source #