Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Validar en clojure
(defn validar [tam num]
(if (and (solo-digitos num) (largo-esperado tam num))
(map #(Character/digit % 10) (seq num))
nil))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment