mirror of
https://github.com/anoma/juvix.git
synced 2024-12-12 14:28:08 +03:00
parent
88c5dabb6d
commit
b293e19ac9
@ -1008,34 +1008,6 @@ deriving stock instance
|
||||
) =>
|
||||
Ord (Iterator s)
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
-- Debugging statements
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
newtype Eval (s :: Stage) = Eval {evalExpression :: ExpressionType s}
|
||||
|
||||
deriving stock instance
|
||||
(Show (ExpressionType s)) => Show (Eval s)
|
||||
|
||||
deriving stock instance
|
||||
(Eq (ExpressionType s)) => Eq (Eval s)
|
||||
|
||||
deriving stock instance
|
||||
(Ord (ExpressionType s)) => Ord (Eval s)
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
newtype Print (s :: Stage) = Print {printExpression :: ExpressionType s}
|
||||
|
||||
deriving stock instance
|
||||
(Show (ExpressionType s)) => Show (Print s)
|
||||
|
||||
deriving stock instance
|
||||
(Eq (ExpressionType s)) => Eq (Print s)
|
||||
|
||||
deriving stock instance
|
||||
(Ord (ExpressionType s)) => Ord (Print s)
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
-- Expression atom
|
||||
--------------------------------------------------------------------------------
|
||||
|
@ -1014,18 +1014,6 @@ checkAxiomDef AxiomDef {..} = do
|
||||
entryToSymbol :: SymbolEntry -> Symbol -> S.Symbol
|
||||
entryToSymbol sentry csym = set S.nameConcrete csym (symbolEntryToSName sentry)
|
||||
|
||||
checkEval ::
|
||||
(Members '[Error ScoperError, State Scope, State ScoperState, InfoTableBuilder, NameIdGen, Reader BindingStrategy] r) =>
|
||||
Eval 'Parsed ->
|
||||
Sem r (Eval 'Scoped)
|
||||
checkEval (Eval s) = Eval <$> withLocalScope (checkParseExpressionAtoms s)
|
||||
|
||||
checkPrint ::
|
||||
(Members '[Error ScoperError, State Scope, State ScoperState, InfoTableBuilder, NameIdGen, Reader BindingStrategy] r) =>
|
||||
Print 'Parsed ->
|
||||
Sem r (Print 'Scoped)
|
||||
checkPrint (Print s) = Print <$> withLocalScope (checkParseExpressionAtoms s)
|
||||
|
||||
checkFunction ::
|
||||
forall r.
|
||||
(Members '[Error ScoperError, State Scope, State ScoperState, InfoTableBuilder, NameIdGen] r) =>
|
||||
|
Loading…
Reference in New Issue
Block a user