gistlib
let rec add_digits n = if n < 10 then [n] else add_digits (n / 10) @ [(n mod 10)] 86 chars4 lines
let rec add_digits n = if n < 10 then [n] else add_digits (n / 10) @ [(n mod 10)]
gistlibby LogSnag