liquidhaskell-0.8.10.7: tests/terminate/pos/list00-local.hs
module List00_Local where
lrev :: [a] -> [a]
lrev = go []
where
{-@ go :: _ -> xs:_ -> _ / [len xs] @-}
go :: [a] -> [a] -> [a]
go acc [] = acc
go acc (x:xs) = go (x:acc) xs