Revert the fromFunction shallowing

Unless Ross Paterson says otherwise, I think it's probably better
to use safe digits like Milan Straka's original version. Make
`fromFunction` easier to read.