Quick actions

cmd+k|ctrl+k

Navigation

Languages

Locals without MonomorphismRestriction

Snippet info

Language

Haskell

Visibility

public

Author

rightfold

Created

2018-11-28T22:17:34Z

Updated

2018-11-28T22:17:34Z

{-# LANGUAGE NoMonomorphismRestriction #-}

main :: IO ()
main =
    let x = 1 in
    print (x :: Int, x :: Double)
INFO