liquidhaskell-0.8.10.7: tests/terminate/pos/list05-local.hs
module List05_local where
{-@ decrease go 2 @-}
rev = go []
where
go :: [a] -> [a] -> [a]
go acc [] = acc
go acc (x:xs) = go (x:acc) xs
module List05_local where
{-@ decrease go 2 @-}
rev = go []
where
go :: [a] -> [a] -> [a]
go acc [] = acc
go acc (x:xs) = go (x:acc) xs