|
RULES/SPECIALIZE not parsing:: msg#00003lang.haskell.glasgow.bugs
Rules.hs: module Rules where my_id :: a -> a my_id a = a my_int_id :: Int -> Int my_int_id a = a {-# RULES my_id = my_int_id #-} {-# SPECIALIZE my_id :: Int -> Int = my_int_id #-} Neither of the pragmas are accepted. The first elicits a parse error on my_id, the second elicits a parse error on '='. GHC 5.04.1 Solaris. - Hal -- Hal Daume III "Computer science is no more about computers | hdaume@xxxxxxx than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-642810 ] Still fails to build with GCC 3.2 on Mandrake, noreply |
|---|---|
| Next by Date: | RE: RULES/SPECIALIZE not parsing:, Simon Marlow |
| Previous by Thread: | [ ghc-Bugs-642810 ] Still fails to build with GCC 3.2 on Mandrake, noreply |
| Next by Thread: | RE: RULES/SPECIALIZE not parsing:, Simon Marlow |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |