
A genuine bug, thank you. I've just fixed it. We'll put the fix in 6.4.3. Simon | -----Original Message----- | From: haskell-cafe-bounces@haskell.org [mailto:haskell-cafe-bounces@haskell.org] On Behalf Of C | Rodrigues | Sent: 21 June 2006 21:55 | To: haskell-cafe@haskell.org | Subject: [Haskell-cafe] Template haskell and scoping | | The (.&.) in the splice is out of scope according to GHC. If I use [||] | then it works, but for my purposes it's easier to use the constructors. How | should I refer to that variable? | | import Data.Bits | import Language.Haskell.TH | | main = print $ $(return $ VarE $ mkName ".&.") 7 (14 :: Int) | | | _______________________________________________ | Haskell-Cafe mailing list | Haskell-Cafe@haskell.org | http://www.haskell.org/mailman/listinfo/haskell-cafe