3 ms·
List[Int] has more than one monoid
by gowld 6y ago
List[Int] has more than one monoid
- fiddlerwoaroof 6y agoBut, when I'm thinking in List[Any], I expect to be working on the Monoid for List[Any], not the Monoid for List[Int]: things like special-casing List[Int] are exactly what make programming languages difficult to learn and use.