Skip to content

Instantly share code, notes, and snippets.

@Baha
Created January 20, 2016 14:11
Show Gist options
  • Save Baha/74c258aeb3325ab1a8ad to your computer and use it in GitHub Desktop.
Save Baha/74c258aeb3325ab1a8ad to your computer and use it in GitHub Desktop.
Filtrado lista funciones
2> Name = resta.
resta
3> Lista = [{function,suma,3},{function,resta,5},{function,mult,4}].
[{function,suma,3},{function,resta,5},{function,mult,4}]
4> [FunctionName || Form = {function,FunctionName,_} <- Lista, FunctionName == Name].
[resta]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment