News for hackers. Stuff that matters.
Re:Currying by iso8859-1 on Monday April 08, 2024 @03:27PM (#39972872)
If there were typing, there would be no reason to not use newtypes[0] for radix and index. These values should only be explicitly unwrapped to plain numbers.

It would look like this

    newtype Radix = Radix { radixToWord :: Word }
    newtype Index = Index { indexToWord :: Word }
[0]: https://wiki.haskell.org/Newtype

There are no comments on this comment yet.