Корекурсия
Sign in to saveIn computer science, corecursion is a type of operation that is dual to (structural) recursion. Whereas recursion consumes a data structure by first handling the topmost layer before descending into its inner parts, corecursion produces a data structure by first defining the topmost layer before defining its inner parts. Corecursion is a particularly important in total languages, as it allows encoding potentially non-terminating computations in a context where every function must terminate. It is supported by theorem provers Agda and Rocq.
Wikidata facts
Show 1 more fact
- Stack Exchange tag
- stackoverflow.com/tags/corecursion
Sources (1)
via Wikidata · CC0
Article · Русский
Кореку́рсия — в теории категорий и информатике тип операции, дуальный к рекурсии. Обычно корекурсия используется (совместно с механизмом ленивых вычислений) для генерации бесконечных структур данных.
Abstract from DBpedia / Wikipedia · CC BY-SA