Skip to content

Instantly share code, notes, and snippets.

@ccapndave
Created April 8, 2016 16:11
Show Gist options
  • Save ccapndave/ff97cfda664039eef3b7b2bd43ee3cab to your computer and use it in GitHub Desktop.
Save ccapndave/ff97cfda664039eef3b7b2bd43ee3cab to your computer and use it in GitHub Desktop.
simplifyMe =
Array.map << Array.map << (flip Maybe.andThen) <| (\s ->
if someCondition then
Nothing
else
Just s
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment