2007
DOI: 10.1017/s0956796807006314
|View full text |Cite
|
Sign up to set email alerts
|

Monadic augment and generalised short cut fusion

Abstract: Monads are commonplace programming devices that are used to uniformly structure computations; in particular, they are often used to mimic the effects of impure features such as state, error handling, and I/O. This paper further develops the monadic programming paradigm by investigating the extent to which monadic computations can be optimised by using generalisations of short cut fusion to eliminate monadic structures whose sole purpose is to “glue together” monadic program components. Ghani, Uustalu, and Vene… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
12
0

Year Published

2008
2008
2015
2015

Publication Types

Select...
3
2
2

Relationship

2
5

Authors

Journals

citations
Cited by 11 publications
(12 citation statements)
references
References 18 publications
0
12
0
Order By: Relevance
“…For the last case, we show it by contradiction. Assume Proof: The proof uses the fact that from (13) follows that for every M ∈ Untyped ({x}):…”
Section: Resultsmentioning
confidence: 99%
See 1 more Smart Citation
“…For the last case, we show it by contradiction. Assume Proof: The proof uses the fact that from (13) follows that for every M ∈ Untyped ({x}):…”
Section: Resultsmentioning
confidence: 99%
“…The key result to be proved for every logical relation constructed in this way is that every function expressible in the underlying language is related to itself by the relational interpretation of its type. This parametricity theorem, or certain generalizations of it, can then be used, for example, to derive useful algebraic laws (so-called "free theorems") about polymorphic functions solely from their types [8], or to establish the semantic correctness of efficiency-improving program transformations [9][10][11][12][13]. But for all such applications, the usefulness in practice depends on a good fit between the semantics of the functional language of interest and that of the typically reduced formal calculus for which parametricity results are proved.…”
Section: Introductionmentioning
confidence: 99%
“…Hinze et al provide a theoretical framework that unifies the above-mentioned fusion algorithms [6]. Ghani et al generalise foldr/build fusion to other inductive datatypes [4]. Although in this paper we only treat lists, sums and pairs, their work suggests that our technique can be extended to other inductive datatypes.…”
Section: Related Workmentioning
confidence: 98%
“…It is well known [Ghani et al (2005), Ghani et al (2003), Takano & Meijer (1995)] that every inductive type has an associated initial algebra package. If f is a Haskell functor, then the associated inductive type M f and its associated fold and build combinators can be implemented generically in Haskell by…”
Section: Initial Algebra Packages For Inductive Typesmentioning
confidence: 99%