Does Roc have escape hatches for mutability? That's something I value in Rust, good escape hatches from the borrow checker, so if something gets too difficult, you can just `Arc<Mutex<RefCell<T>>>` it.
There is a talk somewhere where Richard "demos" this.
main =
x = pf.NewRef!
pf.Write! x 5
y = pf.Read! x import Data.IORef
main :: IO ()
main = do
x <- newIORef (0 :: Int)
writeIORef x 5
y <- readIORef x
print y