Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
HaScalaM.Classes.Term
Documentation
class (ParamClause m n p pc, ParamT m n p t' t, Function p pc t f) => FunctionT m n p pc t' t f Source #
Instances
ParamClauseT m n p t' t pc => FunctionT m n p pc t' t (SmFunctionT m n p t' t pc) Source # | |
Defined in HaScalaM.Instances.Term |
class (NameT n, Member n t) => MemberT n t Source #
Instances
NameT tn => MemberT tn (SmVarP tn) Source # | |
Defined in HaScalaM.Instances.Pat | |
Stat s => MemberT SmNameT (SmPkgS SmRef s) Source # | |
Defined in HaScalaM.Instances.Stat | |
(NameT tn, Template m n t' t ac i p s e) => MemberT tn (SmObjectS m n tn p t' t ac i s e) Source # | |
Defined in HaScalaM.Instances.Stat.Defn | |
(NameT tn, ParamClauseGroup m n p p' t' b' t pc pc' g) => MemberT tn (SmDef'S m n tn p p' t' b' t pc pc' g) Source # | |
Defined in HaScalaM.Instances.Stat.Decl | |
(NameT tn, ParamClauseGroup m n p p' t' b' t pc pc' g) => MemberT tn (SmDefS m n tn p p' t' b' t pc pc' g) Source # | |
Defined in HaScalaM.Instances.Stat.Defn | |
(NameT tn, ParamClauseGroup m n p p' t' b' t pc pc' g) => MemberT tn (SmGiven'S m n tn p p' t' b' t pc pc' g) Source # | |
Defined in HaScalaM.Instances.Stat.Decl | |
(NameT tn, ParamClauseGroup m n p p' t' b' t pc pc' g) => MemberT tn (SmMacroS m n tn p p' t' b' t pc pc' g) Source # | |
Defined in HaScalaM.Instances.Stat.Defn | |
(NameT tn, ParamClauseT' m n p' t' b' pc', Primary m n p t' t pc c, Init m n t' t ac i) => MemberT tn (SmEnumCaseS m n tn p p' t' b' t pc pc' c ac i) Source # | |
Defined in HaScalaM.Instances.Stat.Defn |
class (Param m n p, WithDeclTpeOpt t' p, Term t) => ParamT m n p t' t where Source #
Methods
defaultOpt :: p -> Maybe t Source #
class (ParamsType m, ParamT m n p t' t, ParamClause m n p pc) => ParamClauseT m n p t' t pc where Source #
Instances
(p ~ SmParamT m n t' t, ParamsType m, ParamT m n p t' t) => ParamClauseT m n p t' t (SmParamClauseT m n p t' t) Source # | |
Defined in HaScalaM.Instances.Term Methods mod' :: SmParamClauseT m n p t' t -> Maybe m Source # |
class (ArgsType m, Term t, ArgClause t ac) => ArgClauseT m t ac where Source #
Instances
(m ~ SmMod, t ~ SmTerm, ArgsType m, Term t) => ArgClauseT m t (SmArgClauseT m t) Source # | |
Defined in HaScalaM.Instances.Term Methods mod :: SmArgClauseT m t -> Maybe m Source # |
class (ParamClauseT m n p t' t pc, Tree w) => WithParamClauses m n p t' t pc w where Source #
Methods
paramClauses :: w -> [pc] Source #
Instances
ParamClauseT m n p t' t pc => WithParamClauses m n p t' t pc (SmCtorPrimary m n p t' t pc) Source # | |
Defined in HaScalaM.Instances.Tilde Methods paramClauses :: SmCtorPrimary m n p t' t pc -> [pc] Source # | |
(ParamClauseT m n p t' t pc, Init m n t' t ac i, Stat s) => WithParamClauses m n p t' t pc (SmCtorSecondaryS m n p t' t pc ac i s) Source # | |
Defined in HaScalaM.Instances Methods paramClauses :: SmCtorSecondaryS m n p t' t pc ac i s -> [pc] Source # | |
(g ~ SmParamClauseGroup m n p p' t' b' t pc pc', ParamClauseGroup m n p p' t' b' t pc pc' g) => WithParamClauses m n p t' t pc (SmGivenAliasS m n p p' t' b' t pc pc' g) Source # | |
Defined in HaScalaM.Instances.Stat.Defn Methods paramClauses :: SmGivenAliasS m n p p' t' b' t pc pc' g -> [pc] Source # | |
(g ~ SmParamClauseGroup m n p p' t' b' t pc pc', NameT tn, ParamClauseGroup m n p p' t' b' t pc pc' g) => WithParamClauses m n p t' t pc (SmDef'S m n tn p p' t' b' t pc pc' g) Source # | |
Defined in HaScalaM.Instances.Stat.Decl Methods paramClauses :: SmDef'S m n tn p p' t' b' t pc pc' g -> [pc] Source # | |
(g ~ SmParamClauseGroup m n p p' t' b' t pc pc', NameT tn, ParamClauseGroup m n p p' t' b' t pc pc' g) => WithParamClauses m n p t' t pc (SmDefS m n tn p p' t' b' t pc pc' g) Source # | |
Defined in HaScalaM.Instances.Stat.Defn Methods paramClauses :: SmDefS m n tn p p' t' b' t pc pc' g -> [pc] Source # | |
(g ~ SmParamClauseGroup m n p p' t' b' t pc pc', ParamClauseGroup m n p p' t' b' t pc pc' g, Stat s) => WithParamClauses m n p t' t pc (SmExtensionGroupS m n p p' t' b' t pc pc' s g) Source # | |
Defined in HaScalaM.Instances.Stat.Defn Methods paramClauses :: SmExtensionGroupS m n p p' t' b' t pc pc' s g -> [pc] Source # | |
(g ~ SmParamClauseGroup m n p p' t' b' t pc pc', NameT tn, ParamClauseGroup m n p p' t' b' t pc pc' g) => WithParamClauses m n p t' t pc (SmGiven'S m n tn p p' t' b' t pc pc' g) Source # | |
Defined in HaScalaM.Instances.Stat.Decl Methods paramClauses :: SmGiven'S m n tn p p' t' b' t pc pc' g -> [pc] Source # | |
(g ~ SmParamClauseGroup m n p p' t' b' t pc pc', NameT tn, ParamClauseGroup m n p p' t' b' t pc pc' g) => WithParamClauses m n p t' t pc (SmMacroS m n tn p p' t' b' t pc pc' g) Source # | |
Defined in HaScalaM.Instances.Stat.Defn Methods paramClauses :: SmMacroS m n tn p p' t' b' t pc pc' g -> [pc] Source # | |
(g ~ SmParamClauseGroup m n p p' t' b' t pc pc', ParamClauseGroup m n p p' t' b' t pc pc' g, Template m n t' t ac i f s e) => WithParamClauses m n p t' t pc (SmGivenS m n p p' t' b' t pc pc' ac i f s e g) Source # | |
Defined in HaScalaM.Instances.Stat.Defn Methods paramClauses :: SmGivenS m n p p' t' b' t pc pc' ac i f s e g -> [pc] Source # |
class (Term c, Tree w) => WithCond c w where Source #
Instances
Term c => WithCond c (SmGuardE c) Source # | |
Defined in HaScalaM.Instances.Enums | |
Term t => WithCond t (SmDoT t) Source # | |
Defined in HaScalaM.Instances.Term | |
Term t => WithCond t (SmWhileT t) Source # | |
Defined in HaScalaM.Instances.Term | |
(Mod m, Term t) => WithCond t (SmIfT m t) Source # | |
Defined in HaScalaM.Instances.Term |