Skip to content

Commit 976e74f

Browse files
committed
[Add] import example
1 parent 2321fa6 commit 976e74f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: import.exs

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
defmodule Math do
2+
def some_function do
3+
import List, only: [duplicate: 2]
4+
duplicate(:ok, 10)
5+
end
6+
end

0 commit comments

Comments
 (0)