Batteries Included Preview: Lazy Lists
May 10, 2008 § Leave a comment
A quick note to inform that I have made available the first preview of a module for OCaml Batteries Included module: Lazy Lists for OCaml. This module adds the ability to manipulate lists composed of elements which are only computed whenever their value is first needed. In particular, such lists may be used as a more powerful replacement for streams — or to port interesting algorithms from Haskell.
Code may be found here.