|
Re: [GHC] #871: compiler bug concerning arrays: msg#00134lang.haskell.glasgow.bugs
Hello GHC, Monday, August 21, 2006, 11:42:18 AM, you wrote: > Prelude Array> listArray (0 , maxBound :: Int) (replicate (2 ^ 22) 0) array with such bounds can't be build just because its number of elements is larger than maxInt. it seems that array creation routines should check this condition and then check that bytes required for array are not greater than malloc/allocArray#/allocByteArray# can accept as its parameters -- Best regards, Bulat mailto:Bulat.Ziganshin@xxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [GHC] #833: hs-plugins requires an executable temporary directory, GHC |
|---|---|
| Next by Date: | Re: confusing space use and space profiles., Simon Marlow |
| Previous by Thread: | [GHC] #871: compiler bug concerning arrays, GHC |
| Next by Thread: | Re: [GHC] #871: compiler bug concerning arrays, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |