matejcerny on Nostr: Opaque Types are more powerful than you might think. Even named tuples are ...
Opaque Types are more powerful than you might think. Even named tuples are implemented with them! (👀 Notice the literal/singleton types in the commented line below) #scala
Published at
2025-02-10 09:16:44Event JSON
{
"id": "a8158177813ffeebd8984a3c7d25f2b73a44fd59d21fb466471ca677851c0daf",
"pubkey": "f5c3f597f754f534d47b0be2b9afe263894ecdad3d639453c4abc31f40db2c23",
"created_at": 1739179004,
"kind": 1,
"tags": [],
"content": "Opaque Types are more powerful than you might think. Even named tuples are implemented with them! (👀 Notice the literal/singleton types in the commented line below) #scala https://cdn.nostrcheck.me/f5c3f597f754f534d47b0be2b9afe263894ecdad3d639453c4abc31f40db2c23/acebdc0f77e572c6863acd939c3d802938c5297a7d05048145867ee41344c015.webp",
"sig": "407ed556660fb9106f88549de54c2da0d3f3cb76c669ce4aa2ad95e1442bd617fabe41d16cf949cb2249f020724c25ba6600a9b7491e467288bc819d12bd8d7d"
}