Concept:
Generic functions
Headline
Lecture "Generic functions" as part of Course:Lambdas in Koblenz
Details
Generic functions à la datatype-generic programming are functions that are parameterized in the shape of data types. This is to be compared with polymorphic functions that are parameterized in types. We introduce a simple form of datatype-generic programming with the help of generalized folds (catamorphisms) which in turn are based on the notion of fold algebras. In passing, we also sketch the "Scrap your boilerplate" (SYB) style of generic programming.
Concepts
- Generic function
- Datatype-generic programming
- Generic programming
- Fold algebra
- Generalized fold
- Catamorphism
- Large banana
- Scrap your boilerplate
Languages
Contributions
There are no revisions for this page.
User contributions
User edits
Syntax for editing wiki
For you are available next options:will make text bold.
will make text italic.
will make text underlined.
will make text striked.
will allow you to paste code headline into the page.
will allow you to link into the page.
will allow you to paste code with syntax highlight into the page. You will need to define used programming language.
will allow you to paste image into the page.
is list with bullets.
is list with numbers.
will allow your to insert slideshare presentation into the page. You need to copy link to presentation and insert it as parameter in this tag.
will allow your to insert youtube video into the page. You need to copy link to youtube page with video and insert it as parameter in this tag.
will allow your to insert code snippets from @worker.
Syntax for editing wiki
For you are available next options:will make text bold.
will make text italic.
will make text underlined.
will make text striked.
will allow you to paste code headline into the page.
will allow you to link into the page.
will allow you to paste code with syntax highlight into the page. You will need to define used programming language.
will allow you to paste image into the page.
is list with bullets.
is list with numbers.
will allow your to insert slideshare presentation into the page. You need to copy link to presentation and insert it as parameter in this tag.
will allow your to insert youtube video into the page. You need to copy link to youtube page with video and insert it as parameter in this tag.
will allow your to insert code snippets from @worker.