Exercise
l
Construct fromBinary, e.g.
l
fromBinary([1, 0, 0, 1, 0, 1])
==>
37
l
Considerations
:
l
Do we need an accumulator?
l
Can it be done with tail-recursion?
l
Try it and see.