symantic-lib-0.0.2.20170703: Symantics for common types.

Safe HaskellNone
LanguageHaskell2010

Language.Symantic.Lib.Unit

Contents

Description

Symantic for '()'.

Synopsis

Class Sym_Unit

class Sym_Unit term where Source #

Methods

unit :: term () Source #

unit :: Sym_Unit (UnT term) => Trans term => term () Source #

Instances

Sym_Unit Eval Source # 

Methods

unit :: Eval () Source #

Sym_Unit View Source # 

Methods

unit :: View () Source #

(Sym_Unit term, Sym_Lambda term) => Sym_Unit (BetaT term) Source # 

Methods

unit :: BetaT term () Source #

(Sym_Unit r1, Sym_Unit r2) => Sym_Unit (Dup r1 r2) Source # 

Methods

unit :: Dup r1 r2 () Source #

Types

tyUnit :: Source src => LenInj vs => Type src vs () Source #

Terms

teUnit :: TermDef () '[] (() #> ()) Source #

Orphan instances

ClassInstancesFor * () Source # 

Methods

proveConstraintFor :: Source src => proxy c -> Type Constraint src vs q -> Maybe (Qual q) #

TypeInstancesFor * () Source # 

Methods

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 * () Source # 

Methods

nameTyOf :: proxy c -> Mod NameTy #

isNameTyOp :: proxy c -> Bool #

ModuleFor * src ss () Source # 

Methods

moduleFor :: (PathMod, Module ss ()) #

(Gram_Source src g, Gram_Rule g, Gram_Comment g, SymInj * ss ()) => Gram_Term_AtomsFor * src ss g () Source # 

Methods

g_term_atomsFor :: [CF () (AST_Term ss g)] #