liquidhaskell-0.7.0.0: tests/pos/ReflectClient0.hs
module ReflectClient0 where
import ReflectLib0
-- the below works with GreaterThanA instead of GreaterThan,
-- as the former is defined as a "predicate" alias.
{-@ incr :: x:Nat -> {v:Nat | gtThan v x} @-}
incr :: Int -> Int
incr x = x + 1