If you are using Jane Street Core with #OCaml and want to use Maps without having to specify the comparator function, I realized there is a submodule Map.Poly
https://ocaml.org/p/core/v0.17.1/doc/Core/Map/Poly/index.html# for that. I think it's nice that you can control how keys are ordered when you need to, but it's really good to have the option when you don't care.
=> More informations about this toot | View the thread | More toots from aiono@mastodon.social
=> View ocaml tag This content has been proxied by September (3851b).Proxy Information
text/gemini