Talk:S-expressions: Difference between revisions
Content added Content deleted
Line 203: | Line 203: | ||
using " as part of the string value?--[[User:EMBee|eMBee]] 10:53, 3 November 2011 (UTC) |
using " as part of the string value?--[[User:EMBee|eMBee]] 10:53, 3 November 2011 (UTC) |
||
: In TCL, "everything is a string" (or list, depending on how you look at it). <code>{a b c}</code> is the same as <code>"a b c"</code>, which will lead to some unfortunate ambiguities. --[[User:Ledrug|Ledrug]] 16:25, 3 November 2011 (UTC) |
: In TCL, "everything is a string" (or list, depending on how you look at it). <code>{a b c}</code> is the same as <code>"a b c"</code>, which will lead to some unfortunate ambiguities. --[[User:Ledrug|Ledrug]] 16:25, 3 November 2011 (UTC) |
||
:: ah, yes, that's a problem. actually, i found that the real problem is that a single element list is indistinguishable from the element itself: |
|||
% puts [list [list [list a]]] |
|||
a |
|||
:: therefore tagging is already needed just to distinguish lists from atoms.--[[User:EMBee|eMBee]] 17:37, 3 November 2011 (UTC) |