
14 Mar
2009
14 Mar
'09
5:57 a.m.
Hello Colin, Saturday, March 14, 2009, 11:39:41 AM, you wrote:
I'm getting a runtime failure "Error in array index". This causes ghci to exit.
Is there a way to get it to break instead, so I can find out which function is failing?
i recall two techniques - one is trivially define your own (!) and print index at least. another is to use ghc profiling with -xc RTS option -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com