The function you passed to Array.iter is given the value of the element in the array rather than a reference to it. Consequently, it is immutable.
--
You received this message because you are subscribed to the Google Groups "ocaml-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ocaml-core+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.