How to use associative arrays or Hash tables in Chicken Scheme?
I'm looking for a data structure that supports (near) O(1) access to data based on keys, which should work like Java's HashMap
or Python's dict
data structures in Chicken Scheme.
There seem to be eggs that implement that functionality, but I'd rather use something more standard.
Apparently, there seems to be an effort to define a standard library with Scheme R6RS, but I'm not sure if that's a viable option for Chicken.