shithub: MicroHs

ref: 8a836cd7c2c7f07ca8bb12bff6dab08d1bc4ed62
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)