|
RE: 'name syntax does not work for some names: msg#00019lang.haskell.glasgow.bugs
Good idea. I'll put those in. And fix the '() thing. Simon | -----Original Message----- | From: glasgow-haskell-bugs-bounces@xxxxxxxxxxx [mailto:glasgow-haskell-bugs- | bounces@xxxxxxxxxxx] On Behalf Of Duncan Coutts | Sent: 16 June 2004 01:49 | To: glasgow-haskell-bugs@xxxxxxxxxxx | Subject: TH: 'name syntax does not work for some names | | 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 | | _______________________________________________ | Glasgow-haskell-bugs mailing list | Glasgow-haskell-bugs@xxxxxxxxxxx | http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-992106 ] ghc won't build/run on Fedora Core 2 on AMD Opteron 64's, SourceForge.net |
|---|---|
| Next by Date: | [ ghc-Bugs-991178 ] hasktags does not start, SourceForge.net |
| Previous by Thread: | [ ghc-Bugs-992200 ] Template crash on constructing existential data type, SourceForge.net |
| Next by Thread: | bug in System.system on ghc-6.2.1, Malcolm Wallace |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |