julesh on Nostr: I just implemented function types in Aptwe, aka the monoidal closed structure of ...
Published at
2024-11-28 18:43:58Event JSON
{
"id": "fc23e2679ac0532c64f6210c7979914bf748d4d657ff3488259c79408743c9fa",
"pubkey": "d2bac57e502c36f3456f190627f30396bbe7df233bf7edbfe35990f3e85cf447",
"created_at": 1732819438,
"kind": 1,
"tags": [
[
"imeta",
"url https://media.mathstodon.xyz/media_attachments/files/113/562/046/542/391/376/original/21da8de43dbbda98.png",
"m image/png",
"dim 1160x488",
"blurhash U15#nl%L4nt9M$D%yC-:%Nk8bbRm?u.9M|V?"
],
[
"proxy",
"https://mathstodon.xyz/users/julesh/statuses/113562054746317654",
"activitypub"
]
],
"content": "I just implemented function types in Aptwe, aka the monoidal closed structure of lenses. Here's the interpreter cases corresponding to hom introduction and elimination, which correspond to the bidirectional semantics of (linear) lambda abstraction and function application\nhttps://github.com/CyberCat-Institute/Aptwe/blob/main/src/Interpreter/Terms.idr\n\nhttps://media.mathstodon.xyz/media_attachments/files/113/562/046/542/391/376/original/21da8de43dbbda98.png",
"sig": "a18744635ce4314be9ebd37bd53abce46dad36865d314bb3cdd895d500398320cfe8dd5b3a5c477eb6051ee15fd4a07a6c1455eb0fccb2dfa3514b594994f93d"
}