« * K @n1ark.acouphene.net

opale !! @n1ark.acouphene.net

2026-11-02 19:09 UTC

- we used polymorphic variants quite a bit. they have extremely bad ergonomics: the compiler won't widen/narrow them automatically, type annotations aren't respected (e.g. a (x: [< `Foo ] t) could in fact be a (x: [ `Foo ] t) and the compiler won't warn you), and error messages are indecipherable

A reply in a thread.

1 likes, 0 reposts, 1 replies

3 Next post4 More from @n1ark.acouphene.netBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup