diff options
Diffstat (limited to 'src/code/1/atoms')
-rw-r--r-- | src/code/1/atoms | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/code/1/atoms b/src/code/1/atoms new file mode 100644 index 0000000..fe6b2b8 --- /dev/null +++ b/src/code/1/atoms @@ -0,0 +1,17 @@ +iex> :atom +:atom +iex> :ok +:ok +iex> :error +:error +iex> Foobar +Foobar +iex> :this_is_a_long_atom_dont_do_this +:this_is_a_long_atom_dont_do_this + +iex> Atom.to_string :foo +"foo" +iex> String.to_atom "foo" +:foo +iex> String.to_atom "foo with a space and bar" +:"foo with a space and bar" |