mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-17 13:01:31 +03:00
Add instance Zero Integer.
This commit is contained in:
parent
cce32a4868
commit
d9cbfd62d1
@ -42,6 +42,9 @@ solveZeroInst ty = case tNoUser ty of
|
||||
-- Zero Bit
|
||||
TCon (TC TCBit) [] -> SolvedIf []
|
||||
|
||||
-- Zero Integer
|
||||
TCon (TC TCInteger) [] -> SolvedIf []
|
||||
|
||||
-- Zero a => Zero [n]a
|
||||
TCon (TC TCSeq) [_, a] -> SolvedIf [ pZero a ]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user