shithub: MicroHs

ref: 6f5ab727dd256c4cfb5fac3976d3a6cb1a82f53b
dir: /tests/Misc.hs/

View raw version
module Misc(module Misc) where
import Prelude

first :: forall a b . (a, b) -> a
first ab =
  let { (a, b) = ab }
  in  a

main :: IO ()
main = do
  print $ first (10::Int,20::Int)