Hi Sophia, you are on the right track. I agree with John that Belt.Map.String seems like the right data structure here. It's an immutable data structure that offers get/set/update/merge operations, pretty much exactly what you need.
Belt.Map.String
Regarding file structure, I wrote something about that, which you may find helpful: dev.to/yawaramin/a-modular-ocaml-p...
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Sophia, you are on the right track. I agree with John that
Belt.Map.Stringseems like the right data structure here. It's an immutable data structure that offers get/set/update/merge operations, pretty much exactly what you need.Regarding file structure, I wrote something about that, which you may find helpful: dev.to/yawaramin/a-modular-ocaml-p...