Toot

Written by Aiono on 2025-01-19 at 11:38

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

Mentions

Tags

=> View ocaml tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113854821529511928
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
225.486435 milliseconds
Gemini-to-HTML Time
0.386768 milliseconds

This content has been proxied by September (3851b).