News for hackers. Stuff that matters.
Re:Number systems of the world, sorted by complexity of coun... by FullyFunctional on Thursday March 22, 2018 @01:05PM (#16650519)
I theorize that humans do poorly with too much regularity and we actually benefit from irregularity, unlike computers.

In Haskell, first line would be the same without the const and the other could be

tongan = intercalate " ".reverse.map ((base !!).(`mod` 10)).takeWhile (> 0).iterate (`div` 10)

(ISTM that there must be a better alternative to takeWhile + iterate).

There are no comments on this comment yet.