mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-16 20:03:27 +03:00
Add a deriving Eq
on Schemas.
The equality is completely syntactic.
This commit is contained in:
parent
41131fe7ed
commit
1d8f2576c8
@ -38,7 +38,7 @@ data Kind = KType
|
||||
|
||||
-- | The types of polymorphic values.
|
||||
data Schema = Forall { sVars :: [TParam], sProps :: [Prop], sType :: Type }
|
||||
deriving (Show, Generic, NFData)
|
||||
deriving (Eq, Show, Generic, NFData)
|
||||
|
||||
-- | Type parameters.
|
||||
data TParam = TParam { tpUnique :: !Int -- ^ Parameter identifier
|
||||
|
Loading…
Reference in New Issue
Block a user