I don't know why this is the case. 

Ian, could you do a little archaeology to find which patch changed these
pragmas?  But probably the right thing to do is to put them back to
being inlined.

Simon

| -----Original Message-----
| From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
| On Behalf Of Bulat Ziganshin
| Sent: 12 October 2006 16:56
| To: glasgow-haskell-bugs@haskell.org
| Subject: {- INLINE range #-}
| 
| Hello bugs,
| 
| GHC.Arr contains strange quasi-pragmas that missing # in '{-#'
| sequence. is it a bug or just a way to temporarily disable pragma?
| 
| 
| instance (Ix a, Ix b) => Ix (a, b) where -- as derived
|     {- INLINE range #-}
|     range ((l1,l2),(u1,u2)) =
|       [ (i1,i2) | i1 <- range (l1,u1), i2 <- range (l2,u2) ]
| 
|     {- INLINE unsafeIndex #-}
|     unsafeIndex ((l1,l2),(u1,u2)) (i1,i2) =
|       unsafeIndex (l1,u1) i1 * unsafeRangeSize (l2,u2) + unsafeIndex
(l2,u2) i2
| 
|     {- INLINE inRange #-}
|     inRange ((l1,l2),(u1,u2)) (i1,i2) =
|       inRange (l1,u1) i1 && inRange (l2,u2) i2
| 
| 
| --
| Best regards,
|  Bulat                          mailto:[EMAIL PROTECTED]
| 
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| Glasgow-haskell-bugs@haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to