A nicer way to desugar >=

This commit is contained in:
Iavor S. Diatchki 2014-12-17 15:39:44 -08:00
parent 0a02d7d68e
commit cdf1afd261

View File

@ -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