Chris Martin on Nostr: It's annoying trying to define GADTs because it's a generalization. All datatypes are ...
It's annoying trying to define GADTs because it's a generalization. All datatypes are "GADTs." It's just that without the extension enabled there are some limitations imposed on what constraints constructors are allowed to have.
Published at
2025-01-22 06:18:35 UTCEvent JSON
{
"id": "0bed0eca97451f63f1d2756bcf4c4bd85d9fe49483a0475c3a8c90ee21be7e6d",
"pubkey": "569fe1ecc0a0eddd85f3f01e7ed95431a1d9f2bed4c8ddc1680c5024f919c018",
"created_at": 1737526715,
"kind": 1,
"tags": [
[
"proxy",
"https://functional.cafe/@chris__martin/113870550831095615",
"web"
],
[
"proxy",
"https://functional.cafe/users/chris__martin/statuses/113870550831095615",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://functional.cafe/users/chris__martin/statuses/113870550831095615",
"pink.momostr"
],
[
"-"
]
],
"content": "It's annoying trying to define GADTs because it's a generalization. All datatypes are \"GADTs.\" It's just that without the extension enabled there are some limitations imposed on what constraints constructors are allowed to have.",
"sig": "b7769ae0c6ee4a1456fc5a91037a2403321fd29c4b9e25ddbdf868cea9371701cf40e7b45e1b904b2c0fa066525f3e40c6ef5017384e629abcf027c349ce18b7"
}