Add back Buildable
instance for Const
This commit is contained in:
parent
d36eabb0af
commit
afa3844699
|
@ -87,6 +87,9 @@ import qualified NeatInterpolation
|
|||
-}
|
||||
data Const = Type | Kind deriving (Show, Bounded, Enum)
|
||||
|
||||
instance Buildable Const where
|
||||
build = buildConst
|
||||
|
||||
axiom :: Const -> Either TypeError Const
|
||||
axiom Type = return Kind
|
||||
axiom Kind = Left (TypeError Context.empty (Const Kind) (Untyped Kind))
|
||||
|
|
Loading…
Reference in New Issue
Block a user