« * K @welltypedwit.ch
1 (but you do lose record extensions)
@welltypedwit.ch
2 yes exactly! and something really nice that falls out of this is that the exact…
@welltypedwit.ch
3 Programming isn't just about coding, it's also about the deep connection betwee…
@haskell.org
4 (oh i should have used `{id = "\x -> x", inc = "\x -> x + 1"}`)
@welltypedwit.ch
5 oh and polymorphic variants are pretty cool, but there row polymorphism is most…
@welltypedwit.ch
6 row polymorphism also gives you record extensions but 1) most systems don't eve…
@welltypedwit.ch
7 like, i did this in vega and its records are soo much simpler than e.g. polaris…
@welltypedwit.ch
8 the much more obvious way would be something like `forall r. (r has (x : Int)) …
@welltypedwit.ch
9 there really aren't many useful functions that can act on both `{ id = "monster…
@welltypedwit.ch
# MoreBack a pageBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup