We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Chapter 13, we will show the documentation for Map.get/2, which has this title:
Map.get/2
def get(map, key, default \\ nil)
The default \\ nil syntax is new to readers as of this point. It should probably be introduced in Chapter 6.
default \\ nil
The text was updated successfully, but these errors were encountered:
Except:
a = fn (a \\ nil) -> "Hello #{a}" end ** (CompileError) iex:26: anonymous functions cannot have optional arguments (stdlib) lists.erl:1354: :lists.mapfoldl/3 (elixir) src/elixir_fn.erl:19: :elixir_fn.expand/3
Probably something to show in Ch14 then.
Sorry, something went wrong.
No branches or pull requests
In Chapter 13, we will show the documentation for
Map.get/2
, which has this title:The
default \\ nil
syntax is new to readers as of this point. It should probably be introduced in Chapter 6.The text was updated successfully, but these errors were encountered: