5 ms·
> 2. Fixing some important compiler/library bugs takes years > > 3. No way to host private package repositories That's kind of related to the dictatorial commu
by vmchale 7y ago
> 2. Fixing some important compiler/library bugs takes years
>
> 3. No way to host private package repositories
That's kind of related to the dictatorial community management. Relatedly, you still can't write a generic sort function.
- herteby 7y agoYou 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.