git.iko.soy/rowtype-yoga/purescript-native
on daa6403 help sign in
14 lines 201 B history raw
1module Main where
3import Prelude
4import Eff
5import ST
6import Arrays
8test = runSTArray (do
9 a <- newSTArray 2 0
10 pokeSTArray a 0 1
11 pokeSTArray a 1 2
12 return a)
14main = Trace.print $ runPure test