blob: 86c34adb0dd67f46a5b9633574905ad1c4d354df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{-# 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
|