shithub: MicroHs

ref: cfd47722e3147d6ac70239ac5209947a12cd21a5
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)