[GHC] #9649: symbols should/might be type level lists of chars
GHC
ghc-devs at haskell.org
Tue Sep 30 01:12:56 UTC 2014
#9649: symbols should/might be type level lists of chars
-------------------------------------+-------------------------------------
Reporter: ibotty | Owner: ibotty
Type: feature | Status: new
request | Milestone: 7.10.1
Priority: normal | Version:
Component: Compiler | Keywords:
Resolution: | Architecture: Unknown/Multiple
Operating System: | Difficulty: Unknown
Unknown/Multiple | Blocked By:
Type of failure: | Related Tickets:
None/Unknown |
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Comment (by goldfire):
I agree in that I find the impedance mismatch between term-level `String`s
and type-level `Symbol`s a little annoying. But, there's a fairly sensible
workaround: use lists of one-character symbols. A little quasi-quoting to
ease the syntactic pain and you can get fairly far.
I would still rather, of course, built-in support.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9649#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list