Replace core language HexStrings with library entity
H. S. Teoh via Digitalmars-d
digitalmars-d at puremagic.com
Sun Mar 15 16:26:38 PDT 2015
On Sun, Mar 15, 2015 at 04:21:09PM -0700, Andrei Alexandrescu via Digitalmars-d wrote:
> On 3/15/15 12:46 PM, Walter Bright wrote:
> > http://dlang.org/lex.html#HexString
> >They're rarely used, but very useful when needed. But, as the octal
> >literals have shown, they can be easily replaced with a library
> > x"00 FBCD 32FD 0A"
> > hex!"00 FBCD 32FD 0A"
> >It'll simplify the core language slightly.
> >Thoughts? Anyone want to write the hex template? Any other ideas on
> >things that can removed from the core language and replaced with
> >library entities?
> hexString and hexBytes. -- Andrei
Nothing in the world is more distasteful to a man than to take the path that leads to himself. -- Herman Hesse
More information about the Digitalmars-d