Sam Steingold on Fri, 22 Dec 2017 15:37:03 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: t_QUAD printed representation


Hi,

For clarity sake: the issue is read/print consistency.
I should be able to save and recover an object using its text
representation without special cases for t_QUAD (and what other types?)

IOW, for any object x and any string s, the following should hold:

gequal(gp_read_str(GENtostr_raw(x)),x) = 1
strcmp(s,GENtostr_raw(gp_read_str(x))) = 0

Thanks.

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1504
http://steingoldpsychology.com http://www.childpsy.net http://no2bds.org
http://americancensorship.org http://mideasttruth.com
Every day above ground is a good day.