#### DMCA

## Programming with bananas, lenses, envelopes and barbed wire (1991)

Venue: | In FPCA |

Citations: | 327 - 11 self |

### Citations

1473 | Imperative functional programming.
- Jones, Wadler
- 1993
(Show Context)
Citation Context ...ly associated with algebraic type definitions. A number of general theorems are proven about these operators and subsequently used to transform programs and prove their correctness. Bird and Meertens =-=[4, 18]-=- have identified several laws for specific data types (most notably finite lists) using which they calculated solutions to various programming problems. By embedding the calculus into a categorical fr... |

523 |
Denotational Semantics: The Scott-Strachey Approach to Programming Language Theory
- Stoy
- 1979
(Show Context)
Citation Context ...cursive functions. The first one is a `free theorem' for the fixed point operators2 (A ! A) ! A f (g) = h ( f strictsf ffi g = h ffi f (16) Theorem (16) appears under different names in many places 2 =-=[20, 8, 2, 15, 7, 25, 13, 31]-=-. In this paper it will be called fixed point fusion. The strictness condition in (16) can sometimes be relaxed by using f (g) = f 0 (g 0 ) ( f ? = f 0 ?sf ffi g = h ffi fsf 0 ffi g 0 = h ffi f 0 (17)... |

518 | Comprehending Monads.
- Wadler
- 1992
(Show Context)
Citation Context ...nads Any free type gives rise to a monad [17], in the above notation, (; tau 2 I \Delta ! ; join= 2 \Delta ! ) since: join= ffi tau = id join= ffi tau = id join= ffi join= = join= ffi join= 23 Wadler =-=[29]-=- gives a thorough discussion on the concepts of monads and their use in functional programming. 6 Conclusion We have considered various patterns of recursive definitions, and have presented a lot of l... |

421 |
Types, abstraction, and parametric polymorphism.
- Reynolds
- 1983
(Show Context)
Citation Context ...: ' B ffi fF = fG ffi 'A (11) As a convenient shorthand for (11) we use ' 2 F \Delta ! G to denote that ' is a natural transformation. The "Theorems For Free!" theorem of Wadler, deBruin and=-= Reynolds [28, 9, 22]-=- states that any function definable in the polymorphic -calculus is a natural transformation. If ' is defined using , one can only conclude that (11) holds for strict f. Recursive types After all this... |

377 | Theorems for free! In
- Wadler
- 1989
(Show Context)
Citation Context ...: ' B ffi fF = fG ffi 'A (11) As a convenient shorthand for (11) we use ' 2 F \Delta ! G to denote that ' is a natural transformation. The "Theorems For Free!" theorem of Wadler, deBruin and=-= Reynolds [28, 9, 22]-=- states that any function definable in the polymorphic -calculus is a natural transformation. If ' is defined using , one can only conclude that (11) holds for strict f. Recursive types After all this... |

293 |
Domains for denotational semantics
- Scott
- 1982
(Show Context)
Citation Context ...cursive functions. The first one is a `free theorem' for the fixed point operators2 (A ! A) ! A f (g) = h ( f strictsf ffi g = h ffi f (16) Theorem (16) appears under different names in many places 2 =-=[20, 8, 2, 15, 7, 25, 13, 31]-=-. In this paper it will be called fixed point fusion. The strictness condition in (16) can sometimes be relaxed by using f (g) = f 0 (g 0 ) ( f ? = f 0 ?sf ffi g = h ffi fsf 0 ffi g 0 = h ffi f 0 (17)... |

242 | An introduction to the theory of lists
- Bird
- 1987
(Show Context)
Citation Context ...ut them. For calculating large programs one certainly needs high level algorithmic theorems. The work reported here provides the necessary tools to develop such theorems. For the theory of lists Bird =-=[3]-=- has started to do so, and with success. Another aspect of program calculation is machine assistance. Our experience ---including that of our colleagues--- shows that the size of formal manipulations ... |

194 |
The category-theoretic solution of recursive domain equations
- Smyth, Plotkin
- 1982
(Show Context)
Citation Context ...introduced in x5. Then there exists a type L and two strict functions in F 2 LF ! L and out F 2 L ! LF (omitting subscripts whenever possible) which are each others inverse and even id = (in F / out) =-=[6, 23, 16, 24, 30, 12]. We let F-=- denote the pair (L; in) and say that it is "the least fixed point of F". Since in and out are each others inverses we have that LF is isomorphic to L, and indeed L is --- upto isomorphism -... |

171 | Views: A way for pattern matching to cohabit with data abstraction
- Wadler
- 1987
(Show Context)
Citation Context ...it is not inductively defined on the data type num ::= 0 j 1 +num. There is however no `simple' ' such that fac = (j'j). The problem with the factorial is that it "eats its argument and keeps it =-=too" [27]-=-, the brute force catamorphic solution would therefore have fac 0 return a pair (n; n!) to be able to compute (n + 1)!. Paramorphisms were investigated by Meertens [19] to cover this pattern of primit... |

100 |
Algorithmics â€“towards programming as a mathematical activity
- Meertens
- 1986
(Show Context)
Citation Context ...ly associated with algebraic type definitions. A number of general theorems are proven about these operators and subsequently used to transform programs and prove their correctness. Bird and Meertens =-=[4, 18]-=- have identified several laws for specific data types (most notably finite lists) using which they calculated solutions to various programming problems. By embedding the calculus into a categorical fr... |

40 |
Algebraic Specification of Data Types: A Synthetic Approach
- Lehmann, Smyth
- 1981
(Show Context)
Citation Context ...introduced in x5. Then there exists a type L and two strict functions in F 2 LF ! L and out F 2 L ! LF (omitting subscripts whenever possible) which are each others inverse and even id = (in F / out) =-=[6, 23, 16, 24, 30, 12]. We let F-=- denote the pair (L; in) and say that it is "the least fixed point of F". Since in and out are each others inverses we have that LF is isomorphic to L, and indeed L is --- upto isomorphism -... |

35 |
Denotational Semantics
- Schmidt
- 1986
(Show Context)
Citation Context ...introduced in x5. Then there exists a type L and two strict functions in F 2 LF ! L and out F 2 L ! LF (omitting subscripts whenever possible) which are each others inverse and even id = (in F / out) =-=[6, 23, 16, 24, 30, 12]. We let F-=- denote the pair (L; in) and say that it is "the least fixed point of F". Since in and out are each others inverses we have that LF is isomorphic to L, and indeed L is --- upto isomorphism -... |

17 |
Tupling and mutumorphisms.
- Fokkinga
- 1990
(Show Context)
Citation Context ... conclude that sum ffi squares = (jNil 5 ((+) ffi SQkid)j). A slightly more complicated problem is to derive a one-pass solution for average = DIV ffi sum 4 length Using the tupling lemma of Fokkinga =-=[10]-=- (j'j) L 4 (j/j) L = (j(' ffi ` L) 4 (/ ffi ' L)j) a simple calculation shows that average = DIV ffi (j(0 ffl 5 (+) ffi idk` ) 4 (0 ffl 5 (+1) ffi ' j). Accumulating Arguments An important item in the... |

8 |
Programming Calculi Based on Fixed Point Transformations
- Meyer
- 1985
(Show Context)
Citation Context ...cursive functions. The first one is a `free theorem' for the fixed point operators2 (A ! A) ! A f (g) = h ( f strictsf ffi g = h ffi f (16) Theorem (16) appears under different names in many places 2 =-=[20, 8, 2, 15, 7, 25, 13, 31]-=-. In this paper it will be called fixed point fusion. The strictness condition in (16) can sometimes be relaxed by using f (g) = f 0 (g 0 ) ( f ? = f 0 ?sf ffi g = h ffi fsf 0 ffi g 0 = h ffi f 0 (17)... |

6 |
Codatatypes in ML
- Hagino
- 1989
(Show Context)
Citation Context ...type is an !-cpo and we consider only continuous functions between types (categorically, we are working in the category CPO). Working in the category SET as done by for example Malcolm [17] or Hagino =-=[14]-=- means that finite data types (defined as initial algebras) and infinite data types (defined as final co-algebras) constitute two different worlds. In that case it is not possible to define functions ... |

6 |
Programmierung mit Funktionsobjekten: Konstruktive Erzeugung semantischer Bereiche und Anwendung auf die partielle Auswertung
- Zierer
- 1988
(Show Context)
Citation Context |

5 |
Naturalness of polymorphism
- Bruin
- 1989
(Show Context)
Citation Context ...: ' B ffi fF = fG ffi 'A (11) As a convenient shorthand for (11) we use ' 2 F \Delta ! G to denote that ' is a natural transformation. The "Theorems For Free!" theorem of Wadler, deBruin and=-= Reynolds [28, 9, 22]-=- states that any function definable in the polymorphic -calculus is a natural transformation. If ' is defined using , one can only conclude that (11) holds for strict f. Recursive types After all this... |

5 |
Fixed point constructions in order-enriched categories
- Wand
- 1979
(Show Context)
Citation Context |

5 |
Algebraic speci of data types: a synthetic approach
- Lehmann, Smyth
- 1981
(Show Context)
Citation Context ... introduced in x5. Then there exists a type L and two strict functions in F 2 LF ! L and out F 2 L ! LF (omitting subscripts whenever possible) which are each others inverse and even id = (in Fsout) =-=[6, 23, 16, 24, 30, 12]-=-. We let F denote the pair (L; in) and say that it is \the leastsxed point of F". Since in and out are each others inverses we have that LF is isomorphic to L, and indeed L is | upto isomorphism | as... |

4 |
Translating attribute grammars into catamorphisms
- Fokkinga, Jeuring, et al.
- 1991
(Show Context)
Citation Context ...+ bs = (jid ffl 5 \Phij) as bs where a \Phi f bs = Cons (a; f bs). In general catamorphisms of higher type L ! (I ! S) form an interesting class by themselves as they correspond to attribute grammars =-=[11]-=-. Anamorphisms Evaluation rule The evaluation rule for anamorphisms is given by: out ffi db(/)ec = db(/)ecL ffi / (AnaEval) 15 It says what the result of an arbitrary application of db(/)ec looks like... |

3 |
An introduction to the category-theoretic solution of recursive domain equations
- Bos, Hemerik
- 1988
(Show Context)
Citation Context |

2 |
A relational theory of types
- Backhouse, Woude, et al.
- 1991
(Show Context)
Citation Context ...oblems. By embedding the calculus into a categorical framework, Bird and Meertens' work on lists can be extended to arbitrary, inductively defined data types [17, 12]. Recently the group of Backhouse =-=[1]-=- has extended the calculus to a relational framework, thus covering indeterminancy. Independently, Paterson [21] has developed a calculus of functional programs similar in contents but very dissimilar... |

2 | Retractions in comparing Prolog semantics
- Bruin, Vink
- 1989
(Show Context)
Citation Context |

2 |
Algebraic Types and Program Transformation
- Malcolm
- 1990
(Show Context)
Citation Context ...ulated solutions to various programming problems. By embedding the calculus into a categorical framework, Bird and Meertens' work on lists can be extended to arbitrary, inductively defined data types =-=[17, 12]-=-. Recently the group of Backhouse [1] has extended the calculus to a relational framework, thus covering indeterminancy. Independently, Paterson [21] has developed a calculus of functional programs si... |

2 |
Reasoning about Functional Programs
- Paterson
- 1988
(Show Context)
Citation Context ...d to arbitrary, inductively defined data types [17, 12]. Recently the group of Backhouse [1] has extended the calculus to a relational framework, thus covering indeterminancy. Independently, Paterson =-=[21]-=- has developed a calculus of functional programs similar in contents but very dissimilar in appearance (like many Australian animals) to the work referred to above. Actually if one pricks through the ... |

2 |
factorisation and promotion
- Homomorphisms
- 1990
(Show Context)
Citation Context ...et f = db(f y id ffi out)ec. From the UP for catas we find that this conforms to the usual definition of map. f ffi Nil = Nil f ffi Cons = Cons ffi fkf Other important laws for maps are factorization =-=[26]-=- and promotion [4]. (j'j) ffi f = (j' ffi (fy)j) (34) f ffi db(/)ec = db((fy) ffi /)ec (35) (j'j) ffi f = g ffi (jj) ( g ffis= ' ffi f y gsg strict (36) f ffi db(/)ec = db()ec ffi g (sffi g = f y g ff... |

1 |
On the use of composition in transformational programming
- Berghammer
- 1985
(Show Context)
Citation Context |

1 |
Transformation parallel ablaufender Programme
- Broy
- 1980
(Show Context)
Citation Context |

1 |
Some techniques for recursion removal
- Arsac, Kodrato
- 1982
(Show Context)
Citation Context |

1 |
Programming calculi based on point transformations: semantics and applications
- Meyer
- 1985
(Show Context)
Citation Context ...al recursive functions. Thesrst one is a `free theorem' for thesxed point operator 2 (A! A)! A f (g) = h ( f strict ^ f g = h f (16) Theorem (16) appears under dierent names in many places 2 =-=[20, 8, 2, 15, 7, 25, 13, 31]-=-. In this paper it will be calledsxed point fusion. The strictness condition in (16) can sometimes be relaxed by using f (g) = f 0 (g 0 ) ( f ? = f 0 ? ^ f g = h f ^ f 0 g 0 = h f 0 (17) 2 O... |