@amiloradovsky There aren't many reasonable ways to implement map. Overloading is only bad when it leads to ambiguity, but when there is just one implementation of functor for the given type, there is no ambiguity.
@amiloradovsky Like, there is no important difference between mapping over a cons list vs a vector vs a string.
But I might use all three in an algorithm and switch between them until I figure out which one is optimal.
Guile has an object system, similar, in spirit, to CLOS
@AbbieNormal I used goops even when I don't have to. https://github.com/veer66/wordcut-guile/blob/master/wordcut/tokenizer.scm 😅
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!