|
TH: 'name syntax does not work for some names: msg#00026lang.haskell.glasgow.bugs
Here's another low priority TH buglet: Prelude> ''[] GHC.Base.[] --works as expected Prelude> '[] <interactive>:1:1: parse error on input `[' There is a similar parsing problem for these names: () (,) (,,) etc All of these work when you use ''() to get the name of the type. While we're on the topic it'd be nice to have a function which gives you the name of the n'th tuple type/function, eg tupleName 5 == '(,,,,) tupleTypeName 5 == ''(,,,,) Duncan
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Strange problems with binary file output: result of incorrect size, Mike Aizatsky |
|---|---|
| Next by Date: | [ ghc-Bugs-973766 ] ghci coredumps, SourceForge.net |
| Previous by Thread: | RE: Strange problems with binary file output: result of incorrect size, Simon Marlow |
| Next by Thread: | [ ghc-Bugs-973766 ] ghci coredumps, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |