shithub: MicroHs

ref: 48d806f9e0757baedb656b43a28dbb9af6e14b0b
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)