packages feed

ghc-exactprint-0.5.3.1: tests/examples/ghc80/ado006.hs

{-# LANGUAGE ApplicativeDo #-}
module Test where

-- This exposed a bug in zonking ApplicativeLastStmt
test :: IO Int
test
  = do
      x <- return ()
      h <- return (\_ -> 3)
      return (h ())