Algorithmic lists

Andy with Recycled Electrons <>
Mon Oct 16 21:43:57 CEST 2000


Tell me if I'm wrong, but lazxy evaluation would screw up Real Time,
right?

Andy
Recycled Electrons

> > We (a few lunatics at AXD 301) would like to see the lists module
> > support an alternative formulation of lists.
> 
> They are indeed elegant, and Joe was correct - they're called lazy lists,
> and should be implemented using zero-argument funs. To give a type
> declaration of sorts:
> 
> 	LazyList :: [] | [term() | fun() -> LazyList]
> 
> Writing a module 'lazy_lists' should be a doddle. In fact, I might do it
> myself.
> 
> 	/Richard Carlsson
> 
> 
> Richard Carlsson ()   (This space intentionally left blank.)
> E-mail: 	WWW: http://www.csd.uu.se/~richardc/
> 
> 

Sincerely, 

Andy Allen
Recycled Electrons
email: 





More information about the erlang-questions mailing list