packages feed

haskell-debugger-0.13.0.0: test/integration/simple/Main.hs

{-# LANGUAGE ScopedTypeVariables #-}
module Main where
import Control.Exception
import System.Environment
main :: IO ()
main = do
  args <- getArgs
  putStrLn "hello"
  print args
  fail "CATCH ME" `catch` (\(_::SomeException) -> putStrLn "caught it")
  putStrLn "goodbye"
  return ()