liquidhaskell-0.9.0.2.1: tests/pos/Pred.hs
module Pred () 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