On 2009 Jan 14, at 10:39, Manlio Perillo wrote:
Neil Mitchell ha scritto:
Hi
1) In a Python string it is available the \U{name} escape, where name is
 a character name in the Unicode database.

 As an example:
     foo = u"abc\N{VULGAR FRACTION ONE HALF}"
Hmm, looks nice, and sensible. But as soon as you've got \N{....} syntax I want:
"foo\E{show i}bar"

How this should/can work?
There is Text.Printf for this.

I vaguely recall seeing some TH go by that did this (albeit with $() TH foo).

Sometime they are necessary, to avoid circular import problems (but this not a problem with Haskell).

...in theory. In practice GHC needs help with circular imports, and some cycles might be impossible to resolve.

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [email protected]
system administrator [openafs,heimdal,too many hats] [email protected]
electrical and computer engineering, carnegie mellon university    KF8NH


_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to