Iowa Type Theory Commute

Decomposing recursions using algebras

12 min • 13 juli 2021

Analogously to the decomposition of a datatype into a functor (which can be built from other functors to assemble a bigger language from smaller pieces of languages) and a single expression datatype with a sole constructor that builds an Expr from an F Expr (where F is the functor) -- analogously, a recursion can be decomposed into algebras and a fold function that applies the algebra throughout the datatype.  

Senaste avsnitt

Podcastbild

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