|
RE: ghc-6.0 compiler bug: msg#00036lang.haskell.glasgow.bugs
Hi Simon Simon> Yes, this is a known bug, Sorry that I'm not perfectly aware of everything going on with Template Haskell. Simon> but thank you for reporting it Simon> anyway. I'm going to fix it as part of my next sweep though. Thank you very much. I'm happy to know that it is really possible to apply the generated code to run-time values; taking the idea of the workaround: main = $([| do s <- getLine let x = read s :: Double putStrLn (show ($(pow [|x|] 5))) |]) -- Dr. Christoph Herrmann Teaching and Research Assistant University of Passau, Germany http://www.fmi.uni-passau.de/~herrmann
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: ghc-6.0 compiler bug, Simon Peyton-Jones |
|---|---|
| Next by Date: | Re: locating package.conf, Sven Panne |
| Previous by Thread: | RE: ghc-6.0 compiler bug, Simon Peyton-Jones |
| Next by Thread: | Re: thread blocked indefinitely, Carl R. Witty |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |