<i>Lightweight pair type 'cons'</i> status still Open with 4 other changes
by
.
D 2008-06-14T23:01:50
J icomment Logged\sIn:\sYES\s\nuser_id=496139\nOriginator:\sYES\n\nYes,\sthat\swas\san\soption\sI\sproposed\sduring\sthe\sdiscussion\sof\sthe\sCons.\nHowever,\sit\sneeds\spondering\syet,\sbecause\sthere\sare\stwo\soptions:\n\n(a)\seither\skeep\sit\sas\sa\sseparate\sCons\stype.\sIn\sthat\scase,\s[list\s$a\s$b]\swill\sviolate\san\s"intuitive"\scontract,\ssaying\sthat\san\sobject\sjust\screated\swith\sTcl_NewListObj()\s*is*\sof\stype\stclListType.\sMaybe\sthis\sis\smild,\smaybe\snot,\sdunno\syet.\sAlso,\sabsolutely\sall\slist\soperations\smust\sbe\sadapted\sto\shandle\sCons\swithout\sshimmering\sback\sto\sList.\sSome\swork.\n\n(b)\sor\sdo\sall\sthis\swithin\sthe\sList\stype.\sThe\sproblem\shere\sis\sthat\sthe\saccess\sto\sthe\slist's\sintrep\sis\snot\sabstracted;\shence\sthere\sare\sdozens\sof\splaces\swith\shard-coded\s(List\s*)xxx->twoPtrValue.Ptr1,\sand\seven\s->elements\sand\s->elemCount\sdespite\sthe\saccess\smacros.\nYet\smore\swork\s:-}\n\nNow\sif\syou\ssee\san\salternative,\sI'm\sopen\s(but\splease\sidentify\syourself\snext\stime\s;-)\n\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 1993441fffffffffffffffffffffffffffffffff
U ferrieux
Z e5937cf6de93075ae2561bbbc81dbbbe