Results 1 
5 of
5
Generic pointfree lenses
 In International Conference on Mathematics of Program Construction (MPC), Québec City, QC
, 2010
"... Abstract. Lenses are one the most popular approaches to define bidirectional transformations between data models. A bidirectional transformation with viewupdate, denoted a lens, encompasses the definition of a forward transformation projecting concrete models into abstract views, together with a ba ..."
Abstract

Cited by 18 (10 self)
 Add to MetaCart
Abstract. Lenses are one the most popular approaches to define bidirectional transformations between data models. A bidirectional transformation with viewupdate, denoted a lens, encompasses the definition of a forward transformation projecting concrete models into abstract views, together with a backward transformation instructing how to translate an abstract view to an update over concrete models. In this paper we show that most of the standard pointfree combinators can be lifted to lenses with suitable backward semantics, allowing us to use the pointfree style to define powerful bidirectional transformations by composition. We also demonstrate how to define generic lenses over arbitrary inductive data types by lifting standard recursion patterns, like folds or unfolds. To exemplify the power of this approach, we “lensify ” some standard functions over naturals and lists, which are tricky to define directly “byhand ” using explicit recursion.
Recursive coalgebras from comonads
 Inform. and Comput
, 2006
"... The concept of recursive coalgebra of a functor was introduced in the 1970s by Osius in his work on categorical set theory to discuss the relationship between wellfounded induction and recursively specified functions. In this paper, we motivate the use of recursive coalgebras as a paradigm of struct ..."
Abstract

Cited by 15 (3 self)
 Add to MetaCart
(Show Context)
The concept of recursive coalgebra of a functor was introduced in the 1970s by Osius in his work on categorical set theory to discuss the relationship between wellfounded induction and recursively specified functions. In this paper, we motivate the use of recursive coalgebras as a paradigm of structured recursion in programming semantics, list some basic facts about recursive coalgebras and, centrally, give new conditions for the recursiveness of a coalgebra based on comonads, comonadcoalgebras and distributive laws of functors over comonads. We also present an alternative construction using countable products instead of cofree comonads.
Abstract Information and Computation 204 (2006) 437–468 Recursive coalgebras from comonads �,��
, 2004
"... www.elsevier.com/locate/ic ..."
(Show Context)
DatatypeGeneric Reasoning
"... Abstract. Datatypegeneric programs are programs that are parameterised by a datatype. Designing datatypegeneric programs brings new challenges and new opportunities. We review the allegorical foundations of a methodology of designing datatypegeneric programs. The effectiveness of the methodology ..."
Abstract
 Add to MetaCart
(Show Context)
Abstract. Datatypegeneric programs are programs that are parameterised by a datatype. Designing datatypegeneric programs brings new challenges and new opportunities. We review the allegorical foundations of a methodology of designing datatypegeneric programs. The effectiveness of the methodology is demonstrated by an extraordinarily concise proof of the wellfoundedness of a datatypegeneric occursin relation.
www.elsevier.com/locate/entcs Recursive Coalgebras from Comonads ⋆ 1,2
"... We discuss Osius’s [22] concept of a recursive coalgebra of a functor from the perspective of programming semantics and give some new sufficient conditions for the recursiveness of a functorcoalgebra that are based on comonads, comonadcoalgebras and distributive laws. ..."
Abstract
 Add to MetaCart
We discuss Osius’s [22] concept of a recursive coalgebra of a functor from the perspective of programming semantics and give some new sufficient conditions for the recursiveness of a functorcoalgebra that are based on comonads, comonadcoalgebras and distributive laws.