Chapter 3 Daily 04
The number reverse function, nr: Int -> Int
reverses the order of
the base 10 digits of a number.
nr 60201 == 10206
Helper functions:
digits 60201 == [6,0,2,0,1]
undigits [1,0,2,0,6] == 10206
The number reverse function, nr: Int -> Int
reverses the order of
the base 10 digits of a number.
nr 60201 == 10206
Helper functions:
digits 60201 == [6,0,2,0,1]
undigits [1,0,2,0,6] == 10206