joshsh / ripple

Semantic Web scripting language
Other
101 stars 8 forks source link

50 - toString's behavior is inconsistent #50

Open joshsh opened 13 years ago

joshsh commented 13 years ago
The toString primitive is useful, but ill-defined.  Give it clear and
consistent behavior.  E.g.

{{{
44)  dup toString >> .

  [1]  "<http://fortytwo.net/2008/08/ripple/stack#dup>"^^xsd:string

45)  :foo toString >> .

  [1]  "http://ripple.fortytwo.net/code/examples#foo"^^xsd:string

46)  (1 2 3) toString >> .

  [1]  "(1 2 3)"^^xsd:string
}}}

Original link: http://code.google.com/p/ripple/issues/detail?id=50