News for hackers. Stuff that matters.
Re:Mastering Time-to-Market with Haskell by pka on Tuesday November 22, 2016 @11:34AM (#13015224)
I agree, stack traces are a good thing.

For the time being, make a helper function:

ixWithString :: String -> Int -> Array a -> a

check the bounds inside and error out with a custom message when the index is outside the array bounds.

There are no comments on this comment yet.