mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-18 05:21:57 +03:00
A nicer way to desugar >=
This commit is contained in:
parent
0a02d7d68e
commit
cdf1afd261
@ -71,7 +71,7 @@ crySimpStep prop =
|
|||||||
(K (Nat 0), _) -> Just (y :== zero)
|
(K (Nat 0), _) -> Just (y :== zero)
|
||||||
(K Inf, _) -> Just PTrue
|
(K Inf, _) -> Just PTrue
|
||||||
(_, K Inf) -> Just (x :== inf)
|
(_, K Inf) -> Just (x :== inf)
|
||||||
_ -> Just (x :== y :|| x :> y)
|
_ -> Just (x :== inf :|| x :+ one :> y)
|
||||||
|
|
||||||
x :==: y ->
|
x :==: y ->
|
||||||
case (x,y) of
|
case (x,y) of
|
||||||
|
Loading…
Reference in New Issue
Block a user