Skip to content

Instantly share code, notes, and snippets.

@sinkovsky
Last active August 29, 2015 14:16
Show Gist options
  • Save sinkovsky/54cb86c248f4a3e240b6 to your computer and use it in GitHub Desktop.
Save sinkovsky/54cb86c248f4a3e240b6 to your computer and use it in GitHub Desktop.
lists:foldl(fun(El, Acc) ->
case El of
"10001" -> Acc + 1;
_ -> Acc
end,
0, List);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment