We're a place where coders share, stay up-to-date and grow their careers.
emacs lisp is shorter than common lisp (no need to "extract" the first value of parse-integer)
(defun superSize (n) (string-to-number (seq-sort #'> (number-to-string n))))
and has as few parens as @savagepixie 's JS solution :-)
emacs lisp is shorter than common lisp (no need to "extract" the first value of parse-integer)
(defun superSize (n) (string-to-number (seq-sort #'> (number-to-string n))))
and has as few parens as @savagepixie 's JS solution :-)