|
TH bug: Lift (a -> b) where: msg#00064lang.haskell.glasgow.bugs
Hello, I dont know if it has been reported, this looks like a bug in TH. The program goes into infinite loop. Saswat ----------------------------- instance Lift (a -> b) where lift f = [| f |] compile :: (a -> b) -> ExpQ compile p = lift p printE :: ExpQ -> IO () printE expQ = do exp <- unQ expQ putStrLn (show exp) inc x = x + 1 main = printE (compile inc) -----------------------------
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | problems with 6-2-branch, Serge D. Mechveliani |
|---|---|
| Next by Date: | reifyDecl of a function in ghci fails, Johannes Hölzl |
| Previous by Thread: | problems with 6-2-branch, Serge D. Mechveliani |
| Next by Thread: | reifyDecl of a function in ghci fails, Johannes Hölzl |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |