[Haskell-beginners] Help : foldl skipping one value in list

Lev Broido lev.broido at gmail.com
Wed Nov 9 06:18:14 CET 2011


Hi
I am implementing toy loop search algorithm in graph .
I encountered strange problem -- it seems , that fold doesn't run on the 
whole list .
Code is at http://hpaste.org/53776
Section in question is updVis function
Problem occurs when _newStateMap_2 is being calculated
Please advise.

Thanks,
Lev




More information about the Beginners mailing list