mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 15:18:01 +00:00
Add missing language type for code block
This commit is contained in:
@@ -19,7 +19,7 @@ end
|
|||||||
We can then invoke our anonymous function using the bound variable to see
|
We can then invoke our anonymous function using the bound variable to see
|
||||||
what results we get with different kinds of inputs.
|
what results we get with different kinds of inputs.
|
||||||
|
|
||||||
```
|
```elixir
|
||||||
iex> my_function.({:ok, 123})
|
iex> my_function.({:ok, 123})
|
||||||
"Everything is ok: 123"
|
"Everything is ok: 123"
|
||||||
iex> my_function.({:error, "be warned"})
|
iex> my_function.({:error, "be warned"})
|
||||||
|
|||||||
Reference in New Issue
Block a user