packages feed

HaRe-0.8.0.0: test/testdata/LiftToToplevel/Signature.expected.hs

module LiftToTopLevel.Signature where

{- Lifting Baz to the top level should bring in x and a as parameters,
   and update the signature to include these
-}
foo a = (baz x a)
  where
    x = 1

    y :: Int -> Int -> Int
    y a b = undefined

baz :: Int -> Int -> Int
baz x a = x  + a