This file contains hidden or 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
defmodule Funcs do | |
def greet(name) do | |
"Hola #{name}" | |
end | |
def test do | |
# functions as target of pipe | |
IO.puts test_1() | |
IO.puts test_2() | |
IO.puts test_3() |
OlderNewer