packages feed

liquidhaskell-0.8.10.7: tests/basic/neg/inc01q.hs

-- | Test 
module Inc01 where 

{-@ inc :: {v:Int | v >= 0} -> {v:Int | v >= 0} @-}
inc :: Int -> Int 
inc x = plus x one

{-@ one :: {v:Int | v >= 0} @-}
one :: Int 
one = undefined

{-@ plus :: x:Int -> y:Int -> {v:Int| v = x - y} @-}
plus :: Int -> Int -> Int 
plus = undefined