summaryrefslogtreecommitdiff
path: root/source/Syntax/Concrete.hs
diff options
context:
space:
mode:
Diffstat (limited to 'source/Syntax/Concrete.hs')
-rw-r--r--source/Syntax/Concrete.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Syntax/Concrete.hs b/source/Syntax/Concrete.hs
index 7a89bea..9b947b0 100644
--- a/source/Syntax/Concrete.hs
+++ b/source/Syntax/Concrete.hs
@@ -374,7 +374,7 @@ grammar lexicon@Lexicon{..} = mdo
-- \end{cases}
functionDefineCase <- rule $ (,) <$> (optional _ampersand *> expr) <*> (_ampersand *> text _if *> formula)
- defineFunctionMathy <- rule $ DefineFunctionMathy
+ defineFunctionLocal <- rule $ DefineFunctionLocal
<$> (_define *> beginMath *> varSymbol) -- Define $ f
<*> (_colon *> varSymbol) -- : 'var' \to 'var'
<*> (_to *> expr <* endMath <* _suchThat)
@@ -386,7 +386,7 @@ grammar lexicon@Lexicon{..} = mdo
- proof <- rule $ asum [byContradiction, byCases, bySetInduction, byOrdInduction, calc, subclaim, assume, fix, take, have, suffices, define, defineFunction, defineFunctionMathy, qed]
+ proof <- rule $ asum [byContradiction, byCases, bySetInduction, byOrdInduction, calc, subclaim, assume, fix, take, have, suffices, define, defineFunction, defineFunctionLocal, qed]
blockAxiom <- rule $ uncurry3 BlockAxiom <$> envPos "axiom" axiom