more FromParser

This commit is contained in:
rhiannon morris 2023-03-13 19:33:09 +01:00
parent 90232dd1f8
commit 765c62866a
6 changed files with 110 additions and 40 deletions

View file

@ -277,9 +277,7 @@ defIntro = Zero <$ resC "def0"
export covering
definition : Grammar True PDefinition
definition =
[|MkPDef defIntro name
(optional (resC ":" *> term))
(resC "" *> term)|]
[|MkPDef defIntro name (optional (resC ":" *> term)) (resC "" *> term)|]
export
load : Grammar True String