packages feed

liquidhaskell-0.4.0.0: tests/crash/funref.hs

module Goo () where

cnt   :: Int -> Int
cnt 0 = 0
cnt i = 1 + cnt (i-1)

{-@ three :: {v:Int | (cnt v) = 3} @-}
three :: Int
three = 15