Skip to content

Commit ea7851c

Browse files
committed
Merge pull request elixir-lang#504 from aerosol/hq1-fix-fun-call-example
Fix function call example
2 parents 781b3ae + 511cd8b commit ea7851c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crash-course.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ orddict:new().
168168
to invoke the `new` function from the `orddict` module. In Elixir, use the dot `.` in place of the colon `:`
169169

170170
```elixir
171-
Kernel.self
171+
Orddict.new
172172
```
173173

174174
**Note**. Since Erlang modules are represented by atoms, you may invoke Erlang functions in Elixir as follows:

0 commit comments

Comments
 (0)