hascalam-0.1.1.2: Haskell to and from Scalameta
Safe HaskellSafe-Inferred
LanguageGHC2021

HaScalaM.Types.Term

Documentation

data SmApplyT m t ac where Source #

Constructors

SmApplyT 

Fields

SmApplyUsingT 

Fields

Instances

Instances details
ArgClauseT m t ac => Apply t t ac (SmApplyT m t ac) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

fun :: SmApplyT m t ac -> t Source #

argClause :: SmApplyT m t ac -> ac Source #

ArgClauseT m t ac => Tree (SmApplyT m t ac :: Type) Source # 
Instance details

Defined in HaScalaM.Instances.Term

data SmApplyInfixT m tn t t' ac' ac where Source #

Constructors

SmApplyInfixT 

Fields

Instances

Instances details
(NameT tn, ArgClauseT' t' ac', ArgClauseT m t ac) => Infix t tn ac (SmApplyInfixT m tn t t' ac' ac) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

lhs :: SmApplyInfixT m tn t t' ac' ac -> t Source #

op :: SmApplyInfixT m tn t t' ac' ac -> tn Source #

arg :: SmApplyInfixT m tn t t' ac' ac -> ac Source #

(NameT tn, ArgClauseT' t' ac', ArgClauseT m t ac) => Tree (SmApplyInfixT m tn t t' ac' ac :: Type) Source # 
Instance details

Defined in HaScalaM.Instances.Term

data SmApplyType'T t t' ac' where Source #

Constructors

SmApplyType'T 

Fields

Instances

Instances details
(Term t, ArgClauseT' t' ac') => Apply t t' ac' (SmApplyType'T t t' ac') Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

fun :: SmApplyType'T t t' ac' -> t Source #

argClause :: SmApplyType'T t t' ac' -> ac' Source #

(Term t, ArgClauseT' t' ac') => Tree (SmApplyType'T t t' ac' :: Type) Source # 
Instance details

Defined in HaScalaM.Instances.Term

data SmAssignT t where Source #

Constructors

SmAssignT 

Fields

Instances

Instances details
Term t => Tree (SmAssignT t :: Type) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Term t => WithBody t (SmAssignT t) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

body :: SmAssignT t -> t Source #

data SmBlockT s where Source #

Constructors

SmBlockT 

Fields

Instances

Instances details
Stat s => Tree (SmBlockT s :: Type) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Stat s => WithExprs s (SmBlockT s) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

exprs :: SmBlockT s -> [s] Source #

Stat s => WithStats s (SmBlockT s) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

stats :: SmBlockT s -> [s] Source #

data SmContextFunctionT m n p t' t pc where Source #

Constructors

SmContextFunctionT 

Fields

Instances

Instances details
ParamClauseT m n p t' t pc => Function p pc t (SmContextFunctionT m n p t' t pc) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

paramClause :: SmContextFunctionT m n p t' t pc -> pc Source #

ParamClauseT m n p t' t pc => Tree (SmContextFunctionT m n p t' t pc :: Type) Source # 
Instance details

Defined in HaScalaM.Instances.Term

ParamClauseT m n p t' t pc => WithBody t (SmContextFunctionT m n p t' t pc) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

body :: SmContextFunctionT m n p t' t pc -> t Source #

data SmDoT t where Source #

Constructors

SmDoT 

Fields

Instances

Instances details
Term t => Tree (SmDoT t :: Type) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Term t => WithBody t (SmDoT t) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

body :: SmDoT t -> t Source #

Term t => WithCond t (SmDoT t) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

cond :: SmDoT t -> t Source #

data SmForT e t where Source #

Constructors

SmForT 

Fields

Instances

Instances details
(Enumerator e, Term t) => Tree (SmForT e t :: Type) Source # 
Instance details

Defined in HaScalaM.Instances.Term

(Enumerator e, Term t) => WithBody t (SmForT e t) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

body :: SmForT e t -> t Source #

(Enumerator e, Term t) => WithExprs e (SmForT e t) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

exprs :: SmForT e t -> [e] Source #

(Enumerator e, Term t) => WithEnums e (SmForT e t) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

enums :: SmForT e t -> [e] Source #

data SmForYieldT e t where Source #

Constructors

SmForYieldT 

Fields

Instances

Instances details
(Enumerator e, Term t) => Tree (SmForYieldT e t :: Type) Source # 
Instance details

Defined in HaScalaM.Instances.Term

(Enumerator e, Term t) => WithBody t (SmForYieldT e t) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

body :: SmForYieldT e t -> t Source #

(Enumerator e, Term t) => WithExprs e (SmForYieldT e t) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

exprs :: SmForYieldT e t -> [e] Source #

(Enumerator e, Term t) => WithEnums e (SmForYieldT e t) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

enums :: SmForYieldT e t -> [e] Source #

data SmFunctionT m n p t' t pc where Source #

Constructors

SmFunctionT 

Fields

Instances

Instances details
ParamClauseT m n p t' t pc => FunctionT m n p pc t' t (SmFunctionT m n p t' t pc) Source # 
Instance details

Defined in HaScalaM.Instances.Term

ParamClauseT m n p t' t pc => Function p pc t (SmFunctionT m n p t' t pc) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

paramClause :: SmFunctionT m n p t' t pc -> pc Source #

ParamClauseT m n p t' t pc => Tree (SmFunctionT m n p t' t pc :: Type) Source # 
Instance details

Defined in HaScalaM.Instances.Term

ParamClauseT m n p t' t pc => WithBody t (SmFunctionT m n p t' t pc) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

body :: SmFunctionT m n p t' t pc -> t Source #

data SmIfT m t where Source #

Constructors

SmIfT 

Fields

Instances

Instances details
(Mod m, Term t) => Tree (SmIfT m t :: Type) Source # 
Instance details

Defined in HaScalaM.Instances.Term

(Mod m, Term t) => WithMods m (SmIfT m t) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

mods :: SmIfT m t -> [m] Source #

(Mod m, Term t) => WithCond t (SmIfT m t) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

cond :: SmIfT m t -> t Source #

data SmMatchT p t ct where Source #

Constructors

SmMatchT 

Fields

Instances

Instances details
(Pat p, Term t, Case p t ct) => Tree (SmMatchT p t ct :: Type) Source # 
Instance details

Defined in HaScalaM.Instances.Term

(Pat p, Term t, Case p t ct) => WithExprs ct (SmMatchT p t ct) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

exprs :: SmMatchT p t ct -> [ct] Source #

data SmNewAnonymousT m n t' t ac i p s e where Source #

Constructors

SmNewAnonymousT 

Fields

Instances

Instances details
Template m n t' t ac i p s e => WithTemplate m n t' t ac i p s e (SmNewAnonymousT m n t' t ac i p s e) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

templ :: SmNewAnonymousT m n t' t ac i p s e -> e Source #

Template m n t' t ac i p s e => Tree (SmNewAnonymousT m n t' t ac i p s e :: Type) Source # 
Instance details

Defined in HaScalaM.Instances.Term

data SmPartialFunctionT p t ct where Source #

Constructors

SmPartialFunctionT 

Fields

Instances

Instances details
(Pat p, Term t, Case p t ct) => WithCases p t ct (SmPartialFunctionT p t ct) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

cases :: SmPartialFunctionT p t ct -> [ct] Source #

(Pat p, Term t, Case p t ct) => Tree (SmPartialFunctionT p t ct :: Type) Source # 
Instance details

Defined in HaScalaM.Instances.Term

(Pat p, Term t, Case p t ct) => WithExprs ct (SmPartialFunctionT p t ct) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

exprs :: SmPartialFunctionT p t ct -> [ct] Source #

data SmPolyFunctionT m n p' t' b' pc' t where Source #

Constructors

SmPolyFunctionT 

Fields

Instances

Instances details
(ParamClauseT' m n p' t' b' pc', Term t) => WithT'ParamClause m n p' t' b' pc' (SmPolyFunctionT m n p' t' b' pc' t) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

t'paramClause :: SmPolyFunctionT m n p' t' b' pc' t -> pc' Source #

(ParamClauseT' m n p' t' b' pc', Term t) => Function p' pc' t (SmPolyFunctionT m n p' t' b' pc' t) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

paramClause :: SmPolyFunctionT m n p' t' b' pc' t -> pc' Source #

(ParamClauseT' m n p' t' b' pc', Term t) => Tree (SmPolyFunctionT m n p' t' b' pc' t :: Type) Source # 
Instance details

Defined in HaScalaM.Instances.Term

(ParamClauseT' m n p' t' b' pc', Term t) => WithBody t (SmPolyFunctionT m n p' t' b' pc' t) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

body :: SmPolyFunctionT m n p' t' b' pc' t -> t Source #

data SmTryT p t ct where Source #

Constructors

SmTryT 

Fields

Instances

Instances details
Case p t ct => WithCases p t ct (SmTryT p t ct) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

cases :: SmTryT p t ct -> [ct] Source #

Case p t ct => Tree (SmTryT p t ct :: Type) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Case p t ct => WithExprs ct (SmTryT p t ct) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

exprs :: SmTryT p t ct -> [ct] Source #

data SmTupleT t where Source #

Constructors

SmTupleT 

Fields

Instances

Instances details
Term t => Tree (SmTupleT t :: Type) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Term t => Tuple t (SmTupleT t) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

args :: SmTupleT t -> [t] Source #

data SmWhileT t where Source #

Constructors

SmWhileT 

Fields

Instances

Instances details
Term t => Tree (SmWhileT t :: Type) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Term t => WithBody t (SmWhileT t) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

body :: SmWhileT t -> t Source #

Term t => WithCond t (SmWhileT t) Source # 
Instance details

Defined in HaScalaM.Instances.Term

Methods

cond :: SmWhileT t -> t Source #