Proceedings of the 2002 ACM SIGPLAN Workshop on Haskell 2002
DOI: 10.1145/581690.581693
|View full text |Cite
|
Sign up to set email alerts
|

A recursive do for Haskell

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
21
0

Year Published

2003
2003
2019
2019

Publication Types

Select...
4
2
2

Relationship

0
8

Authors

Journals

citations
Cited by 20 publications
(21 citation statements)
references
References 7 publications
0
21
0
Order By: Relevance
“…At this stage we have no such claim. But one does notice several variations and extensions of Arrows appearing, such as Biarrows [1], or a need for recursion schemes, and thus the need for a foundation, of monads/Arrows [7,3,19]. Our categorical reformulation as monoids might give guidance for the proper formulation of such variations.…”
Section: Discussionmentioning
confidence: 99%
“…At this stage we have no such claim. But one does notice several variations and extensions of Arrows appearing, such as Biarrows [1], or a need for recursion schemes, and thus the need for a foundation, of monads/Arrows [7,3,19]. Our categorical reformulation as monoids might give guidance for the proper formulation of such variations.…”
Section: Discussionmentioning
confidence: 99%
“…Crucially, there are not any external effects inside our inner monad. We build send using recursive do notation [16,17]. If our list of Prims contains only Commands, then we send it asynchronously to our remote device.…”
Section: The Remote Applicative Functormentioning
confidence: 99%
“…Indeed, z is a value computed by g (knil , kcons) but in turn used by knil and kcons. An interesting feature of this law is the fact that the introduction of the circularity needs the use of a recursive binding within a monadic computation, and therefore require the monad to be recursive [8]. A recursive do (mdo-notation) is supported by Haskell for those monads that are declared an instance of the MonadFix class.…”
Section: Law 21 (Pfold/mbuildp For Lists)mentioning
confidence: 99%
“…Observe that the introduction of the circularity on z requires the monad to be recursive [8] as it is necessary the use of a circular binding within a monadic computation. In Haskell terms, this can be expressed using the mdo-notation provided that the monad is an instance of the MonadFix class.…”
Section: Monadic Shortcut Fusionmentioning
confidence: 99%