Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3c2bbbe

Browse files
committed
Fix to :atom style.
1 parent f77cc45 commit 3c2bbbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

getting_started/13.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Elixir.Math.List.flatten #=> uses Math.List.flatten
3030

3131
> Note: All modules defined in Elixir are defined inside a main Elixir namespace. However, for convenience, you can omit "Elixir." when referencing them.
3232
33-
Aliases are frequently used to define shortcuts. In fact, calling `alias` without an `as` option sets the alias automatically to the last part of the module name, for example:
33+
Aliases are frequently used to define shortcuts. In fact, calling `alias` without an `:as` option sets the alias automatically to the last part of the module name, for example:
3434

3535
```elixir
3636
alias Math.List
@@ -89,7 +89,7 @@ iex> duplicate :ok, 3
8989
[:ok, :ok, :ok]
9090
```
9191

92-
In this case, we are importing only the function `duplicate` (with arity 2) from `List`. Although `only:` is optional, its usage is recommended. `except` could also be given as an option.
92+
In this case, we are importing only the function `duplicate` (with arity 2) from `List`. Although `:only` is optional, its usage is recommended. `:except` could also be given as an option.
9393

9494
`import` also supports `:macros` and `:functions` to be given to `:only`. For example, to import all macros, one could write:
9595

0 commit comments

Comments
 (0)