blob: 02f2d068c9e1dfcebe55721ac7fa7fab69e12edb (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
module M where
import Control.Monad.Primitive
import qualified Data.Vector.Unboxed.Mutable as V
import System.IO.Unsafe (unsafePerformIO)
foo :: ()
foo = unsafePerformIO $ do
_ <- V.replicate 1 0.0 :: IO (V.MVector RealWorld Double)
return ()
|