88
type theory meme (leminal.space)
all 7 comments
sorted by: hot top controversial new old
[-] Beanie@programming.dev 11 points 3 days ago

god dammit this is actually good 😭. i literally did semantics of programming languages last term too

[-] davidgro@lemmy.world 5 points 3 days ago

Would you be up for explaining it please?

Γ is typically used to denote the context, or the type environment for an expression. It is a mapping from variables to types. for example we could have

Γ = x:A, y:B, z:C

then

Γ |- y: B

is a typing judgment. Means "In the context of Γ, y has type B."

Type derivation is a process where you start with an expression and an empty context and then figure out what the type of that expression is by building it up from scratch using typing rules. It's what compilers do to figure out whether your program is correct.

this post was submitted on 25 Jun 2026
88 points (100.0% liked)

Programmer Humor

32026 readers
637 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS