Re:Not Growing a Language
by gowld on Saturday April 03, 2021 @10:02PM
(#26686347)
List[Int] has more than one monoid
[ Parent
| on HN ]
Re:Not Growing a Language
by fiddlerwoaroof on Saturday April 03, 2021 @11:06PM
(#26686584)
But, 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.