Created
June 21, 2019 15:51
-
-
Save koolquark/a06096341e8e1034311cfa0be4443020 to your computer and use it in GitHub Desktop.
Matching two parameter values at function head
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 FnEx do | |
def m( %{ :a => a } , a ) do | |
IO.puts "Hello" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment