In a "normal" programming language, you might write something like this:

 for x = 1 to 1000000
   print x
   ...do slow complex stuff...
 next x

In Haskell, you're more likely to write something like

result k = filter my_weird_condition $ map strange_conversion $ unfoldr ...

That means that when you try to process the result, lots of processing happens, and your program just appears to lock up until a result is produced. So, like, how do you make it so that some kind of progress information is output while it's working? (Aside from dunking everything into the IO monad and ruining all your beautiful abstractions.) There doesn't seem to be a clean solution to this one...

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to