I made a blog post about REPL driven development with utop in Emacs a few months ago. Please let me know if you found it useful or have anything to add! I’m a bit new to OCaml so any feedback helps.
There was a similar post about REPL driven development last year and my post addresses a lot of those points. I wish I’d seen that post before I wrote this since there’s a ton of useful information in the comments.