Created
May 17, 2016 11:16
-
-
Save rossjones/4ada810dd48b00125c9fac5c81c29289 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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