Files
elixir-koans/lib
Shannon Oram 678d15de07 Add koan "You can use pattern matching to define [...]"
Koan added following comment on Github.
https://github.com/elixirkoans/elixir-koans/issues/222#issuecomment-399979891

[quote]
And, in fact, you can define multiple cases for a function using this sytnax:

```
lolwat = fn
  "lol" -> "wat"
  _ -> "haha"
end
lolwat.("lol")
# => "wat"
lolwat.("anything")
# => "haha"
lolwat.("rly")
# => "haha"
```

[/quote]
2018-07-11 16:09:33 +10:00
..
2018-05-22 21:46:54 +01:00
2018-05-22 21:46:54 +01:00
2018-05-22 21:46:54 +01:00
2017-12-13 09:43:08 -05:00
2018-05-22 21:46:54 +01:00
2018-05-22 21:46:54 +01:00
2018-05-22 21:46:54 +01:00
2018-05-22 21:46:54 +01:00
2018-05-22 21:46:54 +01:00
2018-05-22 21:46:54 +01:00