Scheme Exercises

back to exercise list       previous     next

Group:     Exercise: 38/48 

Implode:  Create a number from a list of its digits

Create the function (implode L) that will be given a non-empty list of digits and will return the number consisting of those digits.
For instance:
(implode '(4 2 9)) -> 429
(implode '(8)) -> 8