summaryrefslogtreecommitdiff
path: root/source/Meaning.hs
diff options
context:
space:
mode:
authorSimon-Kor <52245124+Simon-Kor@users.noreply.github.com>2024-09-18 00:01:42 +0200
committerSimon-Kor <52245124+Simon-Kor@users.noreply.github.com>2024-09-18 00:01:42 +0200
commitc943ca6441e9118bc9caee1c11f697da89bc06b7 (patch)
tree1bfff18c501b0b8fa28d54848168d6b9ea06f12c /source/Meaning.hs
parenta9785eb4cac6b8c237173f7e14367babd79e92e1 (diff)
working commit
Diffstat (limited to 'source/Meaning.hs')
-rw-r--r--source/Meaning.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Meaning.hs b/source/Meaning.hs
index 4a21fa3..00a944f 100644
--- a/source/Meaning.hs
+++ b/source/Meaning.hs
@@ -606,9 +606,9 @@ glossProof = \case
then Sem.DefineFunction funVar argVar <$> glossExpr valueExpr <*> glossExpr domExpr <*> glossProof proof
else error "mismatched variables in function definition."
- Raw.DefineFunctionMathy funVar domVar ranExpr funVar2 argVar definitions proof -> do
+ Raw.DefineFunctionLocal funVar domVar ranExpr funVar2 argVar definitions proof -> do
if funVar == funVar2
- then Sem.DefineFunctionMathy funVar argVar domVar <$> glossExpr ranExpr <*> (glossLocalFunctionExprDef `each` definitions) <*> glossProof proof
+ then Sem.DefineFunctionLocal funVar argVar domVar <$> glossExpr ranExpr <*> (glossLocalFunctionExprDef `each` definitions) <*> glossProof proof
else error "missmatched function names"
Raw.Calc calc proof ->
Sem.Calc <$> glossCalc calc <*> glossProof proof