Scheme Exercises

back to exercise list       previous     next

Group:     Exercise: 37/48 

Explode:  Explode an integer into a list of its digits

Create the function (explode N) which will be given a non-negative integer N, and will create the list of its digits.
NOTE: SchemingBat does not have the function (reverse L).
For instance:
(explode 327) -> (3 2 7)
(explode 6) -> (6)