Advanced Types in Elm - Opaque Types
Charlie Koster
4273

Thank you for the great post. However, I don’t get why the befenfit of refactoring has to do with the utilization of opaque Type.

What if we implement the exact same API for the ‘type alias’ example as you do with the opaque Type by adding the same functions:ascendingLabels , descendingLabels, addLabel ?