Associative-stuff, ocaml api

  • Association lists
  • Maps (to create a map module for a specific type for which there exists a total ordering comparison function, you have to use the functor Map.Make, whose output signature provides the typical functions for working with maps)
  • Hash tables (side-effectful interface)
  • Associative arrays—maps are associative arrays
3 Likes