
14 Mar
2008
14 Mar
'08
12:20 a.m.
On Mar 13, 2008, at 23:47 , Donnie Jones wrote:
It seems if I don't choose an upper bound pair for (m,n) that is large enough I get truncated output for the answer, instead of GHC giving me an array index exception... This behavior seems very odd to me, can someone explain? Or is this a bug?
Per http://www.haskell.org/ghc/docs/latest/html/libraries/base/ Control-Exception.html: "NOTE: GHC currently does not throw ArrayExceptions" -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH