more FromParser
This commit is contained in:
parent
90232dd1f8
commit
765c62866a
6 changed files with 110 additions and 40 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue