Re:A list of companies using Elm in production
by herteby on Wednesday February 05, 2020 @01:28PM
(#22249651)
You can either write a comparison function that returns an Order, or a function that converts your type to a comparable. Then you use List.sortBy or List.sortWith.
I don't really know how a generic sort function would work without typeclasses/interfaces.
[ Parent
| on HN ]
There are no comments on this comment yet.