The Iterator pattern gives a clean interface for element-by-element access to a collection, independent of the collection's shape. Imperative iterations using the pattern have two simultaneous aspects: mapping and accumulating. Various existing functional models of iteration capture one or other of these aspects, but not both simultaneously. We argue that C. McBride and R. Paterson's applicative functors (Applicative programming with effects, J. Funct. Program., 18 (1): 113, 2008), and in particular the corresponding traverse operator, do exactly this, and therefore capture the essence of the Iterator pattern. Moreover, they do so in a way that nicely supports modular programming. We present some axioms for traversal, discuss modularity con...
Iterative characterizations of computable unary functions are useful patterns for the definition of ...
The monads used to model effectful computations traditionally concentrate on the \"destination\" - t...
A complete traversal of a container C (such as a set) is informally described by the iteration schem...
The Iterator pattern gives a clean interface for element-by-element access to a collection, independ...
The ITERATOR pattern gives a clean interface for element-by-element access to a collection. Imper-at...
The Iterator pattern gives a clean interface for element-by-element access to a collection. Imperati...
International audienceIn this paper we present an approach to specify programs performing iterations...
ion in Sather STEPHAN MURER, STEPHEN OMOHUNDRO, DAVID STOUTAMIRE, and CLEMENS SZYPERSKI Internationa...
In this article, we introduce Applicative functors – an abstract characterisation of an applicative ...
Iteration is a programming operation that traditionally refers to visiting the elements of a data st...
Sather iters are a powerful new way to encapsulate iteration. We argue that such iteration abstracti...
The Iterator design pattern allows client code to access the elements of an aggregate object sequen...
A recent paper by Graham Hutton and Diana Fulger (\"Reasoning about Effects: Seeing the Wood through...
closely related to closures since they too can be nested in methods and classes. Their translation s...
. In a simply-typed, call-by-value (CBV) language with first-class continuations, the usual CBV fixp...
Iterative characterizations of computable unary functions are useful patterns for the definition of ...
The monads used to model effectful computations traditionally concentrate on the \"destination\" - t...
A complete traversal of a container C (such as a set) is informally described by the iteration schem...
The Iterator pattern gives a clean interface for element-by-element access to a collection, independ...
The ITERATOR pattern gives a clean interface for element-by-element access to a collection. Imper-at...
The Iterator pattern gives a clean interface for element-by-element access to a collection. Imperati...
International audienceIn this paper we present an approach to specify programs performing iterations...
ion in Sather STEPHAN MURER, STEPHEN OMOHUNDRO, DAVID STOUTAMIRE, and CLEMENS SZYPERSKI Internationa...
In this article, we introduce Applicative functors – an abstract characterisation of an applicative ...
Iteration is a programming operation that traditionally refers to visiting the elements of a data st...
Sather iters are a powerful new way to encapsulate iteration. We argue that such iteration abstracti...
The Iterator design pattern allows client code to access the elements of an aggregate object sequen...
A recent paper by Graham Hutton and Diana Fulger (\"Reasoning about Effects: Seeing the Wood through...
closely related to closures since they too can be nested in methods and classes. Their translation s...
. In a simply-typed, call-by-value (CBV) language with first-class continuations, the usual CBV fixp...
Iterative characterizations of computable unary functions are useful patterns for the definition of ...
The monads used to model effectful computations traditionally concentrate on the \"destination\" - t...
A complete traversal of a container C (such as a set) is informally described by the iteration schem...