Cool! I was surprised to see ropey as a dependency, I agree those utility functions should be inlined.
I'm currently using ropey to keep the server side state of documents in an LSP server. I recommend you add at least a slice type, as that's typically desirable. But looks great otherwise!