summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/scripts/break029.hs
blob: 7598d3f4b3dfbc821057bba7b533614471cffa97 (plain)
1
2
3
4
5
6
{-# LANGUAGE ApplicativeDo #-}

f :: Int -> IO Int
f x = do
  y <- return (x + 1)
  return (y * 2)