On Thu, 16 Jul 2009, Fernan Bolando wrote:
Hi all I recently used 2 hours of work looking for a bug that was causing Program error: Prelude.!!: index too large
A good way to avoid such problems is to avoid partial functions at all. (!!) is also inefficient. Is it possible to define the function in terms of foldl?
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe