shithub: MicroHs

ref: 6ee5b5e8428ca78ea1d5a675fb34ccc5b36ef680
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)