Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
guards en Erlang
is_digit(C) when C >= $0, C=<$9 -> true;
is_digit(_) -> false.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment