Skip to content

Instantly share code, notes, and snippets.

@rossjones
Created May 17, 2016 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rossjones/4ada810dd48b00125c9fac5c81c29289 to your computer and use it in GitHub Desktop.
Save rossjones/4ada810dd48b00125c9fac5c81c29289 to your computer and use it in GitHub Desktop.
Interactive Elixir (1.2.4) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> spawn(fn-> :ets.new(:rooms, [:named_table, :set]) end)
#PID<0.59.0>
v(2): :ets.insert_new(:rooms, {"Test", []})
** (ArgumentError) argument error
(stdlib) :ets.insert_new(:rooms, {"Test", []})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment