Hashtables

Grzegorz Chrupała grzegorz at pithekos.net
Thu Oct 7 00:00:57 CEST 2004


On Wed 06 Oct 2004 22:49, Jorge Marques Pelizzoni wrote:
> You can always convert strings into atoms... Then you have your hash
> table. Look up virtual strings in the docs.

Well I'd like to use records (and/or lists) as keys. The linguistic 
objects I'm working with are not easily represented with strings. So is 
the way to go something like the following?

{Dictionary.put MyDictionary 
                {StringToAtom {ByteString.toString {Pickle.pack MyRec}}}
                MyValue}

Cheers,
-- 
Grzegorz Chrupała





More information about the mozart-users mailing list