Difference between revisions of "Arrow"

From HaskellWiki
Jump to navigation Jump to search
(→‎Introducton: and →‎Examples: : most important introductory materials and examples: arrow parser, mimicking dataflow programming)
 
(→‎Dataflow languages: writing an introdctory text with referring to Ross Patersons' Arrow and Computations, and moving Lucid material to a separate page)
Line 25: Line 25:
 
==== Dataflow languages ====
 
==== Dataflow languages ====
   
  +
[http://www.soi.city.ac.uk/~ross/papers/fop.html Arrows and Computation] written by [http://www.soi.city.ac.uk/%7Eross/ Ross Paterson] mentions how to mimick dataflow programming in (lazy) functional languages. See more on Lucid's own HaskellWiki page: [[Lucid]].
===== Lucid =====
 
   
A fast-food implementation:
 
* [[Media:Lucid.lhs|Lucid.lhs]]
 
* [[Media:Test.lhs|Test.lhs]]
 
 
A better implementation could be written using the arrow library available at the [http://www.haskell.org/arrows/download.html Downloads page of Arrows: A General Interface to Computation] written by [http://www.galois.com/~antony/ Antony Courtney],
 
[http://www.cs.nott.ac.uk/~nhn/ Henrik Nilsson] and
 
[http://www.soi.city.ac.uk/~ross/ Ross Paterson].
 
 
[[Category:Standard classes]]
 
[[Category:Standard classes]]

Revision as of 13:45, 11 June 2006

Introduction

Arrows: A General Interface to Computation written by Ross Peterson.

HaWiki's ArrowsIntroduction

Examples

Parser

A good example of the mentioned arrow parsers can be seen in A New Notation for Arrows written by Ross Peterson: figure 2, 4, 6 (page 3, 5, 6).

An implementation: PArrows written by Einar Karttunen.

Stream processor

IO-like things

Fudgets

Dataflow languages

Arrows and Computation written by Ross Paterson mentions how to mimick dataflow programming in (lazy) functional languages. See more on Lucid's own HaskellWiki page: Lucid.