corecursionの例文
もっと例文: 1 2 3 4 5
- The discussion below provides several examples in Haskell that distinguish corecursion.
- Corecursion can produce both self-referential data structures.
- This shows the usefulness of corecursion rather than recursion for dealing with infinite data structures.
- Corecursion need not produce an infinite object; a corecursive queue is a particularly good example of this phenomenon.
- Also note that the examples used in this article predate the attempts to define corecursion and explain what it is.