Elixir Examples
Filter list
Mar 3, 2016
Filter a list
[
3
,
4
]
=
Enum
.
filter
(
[
1
,
2
,
3
,
4
],
fn
(
x
)
->
x
>
2
end
)