mirror of
https://github.com/ilyakooo0/Idris-dev.git
synced 2024-11-14 13:56:59 +03:00
Add missing Show instance for CtorArg
This commit is contained in:
parent
30585fcddd
commit
603b06cf01
@ -342,6 +342,10 @@ instance Show FunArg where
|
||||
showPrec d (MkFunArg n ty plic era) = showCon d "MkFunArg" $ showArg n ++
|
||||
showArg ty ++ showArg plic ++ showArg era
|
||||
|
||||
instance Show CtorArg where
|
||||
showPrec d (CtorParameter fa) = showCon d "CtorParameter" $ showArg fa
|
||||
showPrec d (CtorField fa) = showCon d "CtorField" $ showArg fa
|
||||
|
||||
instance Show TyDecl where
|
||||
showPrec d (Declare fn args ret) = showCon d "Declare" $ showArg fn ++
|
||||
showArg args ++ showArg ret
|
||||
|
Loading…
Reference in New Issue
Block a user