blob: f5337d26c3f756c3962a7cc00010bbcb8051bf66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{-# LANGUAGE UnboxedTuples #-}
{-# LANGUAGE MagicHash #-}
module Main where
import GHC.Exts
import GHC.IO
main :: IO ()
main = do
IO $ \s0 ->
case newByteArray# 23# s0 of
(# s1, marr #) ->
case readWord64Array# marr (-1#) s1 of
(# s2, _n #) -> (# s2, () #)
|