symantic-lib-0.0.3.20180213: Symantics for common types.
Language.Symantic.Lib.If
Contents
If
Sym_If
Type
Term
Description
Symantic for If.
Synopsis
data If Source #
Instances
Methods
proveConstraintFor :: Source src => proxy c -> Type Constraint src vs q -> Maybe (Qual q) #
expandFamFor :: Source src => proxy c -> Len Type vs -> Const kt src fam -> Types src vs ts -> Maybe (Type kt src vs (Fam kt fam ts)) #
nameTyOf :: proxy c -> Mod NameTy #
isNameTyOp :: proxy c -> Bool #
moduleFor :: (PathMod, Module ss If) #
g_term_atomsFor :: [CF If (AST_Term ss g)] #
class Sym_If term where Source #
if_ :: term Bool -> term a -> term a -> term a Source #
if_ :: Sym_If (UnT term) => Trans term => term Bool -> term a -> term a -> term a Source #
if_ :: View Bool -> View a -> View a -> View a Source #
if_ :: Eval Bool -> Eval a -> Eval a -> Eval a Source #
if_ :: BetaT term Bool -> BetaT term a -> BetaT term a -> BetaT term a Source #
if_ :: Dup r1 r2 Bool -> Dup r1 r2 a -> Dup r1 r2 a -> Dup r1 r2 a Source #
teIf_if :: TermDef If '[Proxy a] (() #> (Bool -> a -> a -> a)) Source #