On Wed, Jan 14, 2009 at 6:39 AM, Robert Fraser <[email protected]> wrote: > Fawzi Mohamed wrote: >> >> Probably something of the following: >> 1) In general when you do map you cannot exclude that the user expects >> sequentiality, or at least not parallelism. >> >> 2) if you use forward iterators (and lazy lists are such) are *very* >> sequential. > > Yes, but Haskell is pure-functional.
Sure but in a lazy list the value of element n+1 can depend on any or all of elements 0..n. Like a lazy list of Fibonnocci numbers, there's not much you can do to automatically parallelize that. Just a guess though. I have no idea what the problem was. --bb
