Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Validando en Erlang
Digitos = lists:all(fun (X) -> is_digit(X) end, Entrada),
if Digitos =:= true -> unicos(to_num(Entrada), Tam, Len) ;
Digitos =:= false -> [] end.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment