Iowa Type Theory Commute

Church encoding of the booleans

11 min • 15 februari 2020

The Church encoding represents data as their own fold-right functions.  For booleans, this means they become their own if-then-else expressions.  We consider the polymorphic type for these, which is forall X. X -> X -> X.

Senaste avsnitt

Podcastbild

00:00 -00:00
00:00 -00:00