blob: c8ebcd4833459111787eab85fc4cb562c95bb3c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE Safe #-}
-- | Import (now safe by default) modules.
module Main where
import Control.Monad.ST
import Control.Monad.ST.Lazy
import Foreign.ForeignPtr
import Foreign
f :: Int
f = 2
main :: IO ()
main = putStrLn $ "X is: " ++ show f
|