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

@ -3,7 +3,23 @@ module TypingImpls
import TAP
import public Quox.Typing
import public Quox.Pretty
import public TermImpls
import Derive.Prelude
%language ElabReflection
%runElab derive "WhnfErr" [Show]
%runElab deriveIndexed "DimEq" [Show]
export %hint
showTyContext : (PrettyHL q, Show q) => Show (TyContext q d n)
showTyContext = deriveShow
export %hint
showTypingError : (PrettyHL q, Show q) => Show (Error q)
showTypingError = deriveShow
export
ToInfo WhnfErr where