RE: Posible bug while optimizing? (Was: RULES for SPECIALIZ(E)ations)

Oh yes, this is a bug all right. I'm looking into it. Thanks for reporting it S | -----Original Message----- | From: glasgow-haskell-users-bounces@haskell.org [mailto:glasgow-haskell-users- | bounces@haskell.org] On Behalf Of Juanma Barranquero | Sent: 22 October 2003 09:58 | To: GHC users | Subject: Re: Posible bug while optimizing? (Was: RULES for SPECIALIZ(E)ations) | | An even simpler example, with just one module: | | ------------------------------------------------------- | module Test where | | import Data.List (genericLength) | | {-# RULES | "genericLength/length" genericLength = length | #-} | ------------------------------------------------------- | | D:\...\hask> ghc -O -fglasgow-exts --make Test.hs | Chasing modules from: Test.hs | Compiling Test ( Test.hs, ./Test.o ) | | D:\...\hask> ghc -O -fglasgow-exts --make Test.hs | Chasing modules from: Test.hs | Skipping Test ( Test.hs, ./Test.o ) | | tcLookupGlobal (id): `Data.List.genericLength' is not in scope | When checking the transformation rule "genericLength/length" | | Surely that *must* be a bug, mustn't? | | | | Juanma | | | _______________________________________________ | Glasgow-haskell-users mailing list | Glasgow-haskell-users@haskell.org | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
participants (1)
-
Simon Peyton-Jones