I tested utop example. It displays "some_values" perfectly. I don't know how it works. Maybe we can learn how it achieved. https://github.com/ocaml-community/utop/blob/8cc563282597abdb8f5cca64df41166c5ebca6b5/examples/interact/test_program.ml#L1-L11 <img width="911" alt="image" src="https://github.com/hackwaly/ocamlearlybird/assets/540298/08e77ec5-0763-43d5-8868-a5b7a5959f3e">