Skip to content

Instantly share code, notes, and snippets.

@aetos382
Forked from leque/gist:c7f694f25f593c4173a5
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save aetos382/fb9ee44a59ae76f3c39e to your computer and use it in GitHub Desktop.
Save aetos382/fb9ee44a59ae76f3c39e to your computer and use it in GitHub Desktop.
CommonLisp:

hash-table

Scheme:

hash-table (SRFI-69), hashtable (R6RS Scheme)

Haskell:

Map

OCaml:

Hashtbl, Map

SML:

hash_table (sml-nj-lib)

Java:

Map, HashMap, Hashtable, LinkedHashMap, TreeMap, WeakHashMap, ...

Scala:

Map, HashMap, ListMap, SortedMap, TreeMap, LinkedHashMap, MultiMap, OpenHashMap, WeakHashMap, ...

ECMAScript:

Object

Ruby:

Hash

Smalltalk:

Dictionary

Python:

dict

Perl:

hash

C++:

map, multimap, unordered_map, unordered_multimap

.NET:

Hashtable, Dictionary, OrderedDictionary, SortedDictionary, SortedList, Lookup, ...

PowerShell:

Hashtable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment