[GHC] #5218: Add unpackCStringLen# to create Strings from string literals
GHC
cvs-ghc at haskell.org
Tue Jun 14 12:03:34 CEST 2011
#5218: Add unpackCStringLen# to create Strings from string literals
---------------------------------+------------------------------------------
Reporter: tibbe | Owner:
Type: feature request | Status: new
Priority: high | Milestone: 7.4.1
Component: Compiler | Version: 7.0.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by tibbe):
If solution two works I'm for it. It feels a bit complex but perhaps
there's no better option. I'm against solution 1 as it would make most
Haskell programs Template Haskell programs, as byte string literals are
quite common, and that feels a bit too much to solve this problem.
If we could have proper byte string literals (ala Python's b"...") that
would be even better but I guess that would be a too invasive change.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5218#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list