shithub: MicroHs

ref: 9ebefcdc1b90b9e0e773b9b8f1afd01ac55c2a64
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)