On Apr 1, 2010, at 4:39 AM, Igor Stasenko wrote:
On 1 April 2010 01:52, Randal L. Schwartz <merlyn@stonehenge.com> wrote:
"Niko" == Niko Schwarz <niko.schwarz@googlemail.com> writes:
Niko> Hi, I just bumped into this. Probably this is intended somehow, but it Niko> does seem weird enough to ask â¦
Niko> (Object >> #hash) asString class
Niko> returns 'Text'.
It has to be, to hold styled text, right?
as to me, asking to string, should return string, not text.
Yes. And if a tool wants bold, it calls asText. Another example of the "principle of the least surprise". That's the reason why, for example, "Browser open" opens a Browser, not a Workspace Marcus -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.