Skip to content

Instantly share code, notes, and snippets.

@alco
Created May 4, 2014 10:46
Show Gist options
  • Select an option

  • Save alco/b45a2f393ffdec6729fd to your computer and use it in GitHub Desktop.

Select an option

Save alco/b45a2f393ffdec6729fd to your computer and use it in GitHub Desktop.
-module(erl).
-export([start/0]).
-define(Dict, 'Elixir.Dict').
-define(HashDict, 'Elixir.HashDict').
start() ->
D = ?HashDict:new(),
D2 = ?Dict:put(D, hello, world),
io:format("~p~n", [D2]).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment