Stream Fusion

 

Title: Stream Fusion
Author: Brian Huffman
Submission date: 2009-04-29
Abstract: Stream Fusion is a system for removing intermediate list structures from Haskell programs; it consists of a Haskell library along with several compiler rewrite rules. (The library is available online.)

These theories contain a formalization of much of the Stream Fusion library in HOLCF. Lazy list and stream types are defined, along with coercions between the two types, as well as an equivalence relation for streams that generate the same list. List and stream versions of map, filter, foldr, enumFromTo, append, zipWith, and concatMap are defined, and the stream versions are shown to respect stream equivalence.
BibTeX:
@article{Stream-Fusion-AFP,
  author  = {Brian Huffman},
  title   = {Stream Fusion},
  journal = {Archive of Formal Proofs},
  month   = apr,
  year    = 2009,
  note    = {\url{http://isa-afp.org/entries/Stream-Fusion.shtml},
            Formal proof development},
  ISSN    = {2150-914x},
}
License: BSD License
Status: [skipped] This is a development version of this entry. It might change over time and is not stable. Please refer to release versions for citations.