putMemSpace :: Lua.LuaInteger -> a -> MemSpace a -> ExceptT GrLang.Error LuaGrLang ()
putMemSpace idx' val memSpace = do
  let idx = fromEnum idx'
  liftIO $ writeArray (cells memSpace) idx (Just val)
putMemSpace :: Lua.LuaInteger -> a -> MemSpace a -> ExceptT GrLang.Error LuaGrLang ()
putMemSpace idx' val memSpace = do
  let idx = fromEnum idx'
  liftIO $ writeArray (cells memSpace) idx (Just val)
putMemSpace idx' val memSpace = do
  let idx = fromEnum idx'
  liftIO $ writeArray (cells memSpace) idx (Just val)