shithub: MicroHs

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