liquidhaskell-0.4.0.0: tests/pos/pred.hs
module Foo () where
{-@ predicate Lt X Y = X < Y @-}
{-@ predicate Ge X Y = not (Lt X Y) @-}
{-@ predicate Pos X = X > 0 @-}
{-@ incr :: x:{v:Int | (Pos v)} -> { v:Int | ((Pos v) && (Ge v x))} @-}
incr :: Int -> Int
incr x = x + 1