How would I go about converting a string like this "13.2..2" to a list like this
[Just 1, Just 3, Nothing, Just 2, Nothing, Nothing, Just 2]
I have had a look at digitToInt but it does not take care of Maybe Int. Is there a way I could maybe modify digitToInt to handle Maybe Int?