12 Jan 2012 09:57
Fwd: SRFI-60 integer->list and list->integer
Sascha Ziemann <ceving <at> gmail.com>
2012-01-12 08:57:09 GMT
2012-01-12 08:57:09 GMT
Gauche list->integer function does not check for negative numbers either: gosh> (integer->list 0) () gosh> (integer->list -1) () gosh> (list->integer (integer->list -1)) 0 ---------- Forwarded message ---------- From: Aubrey Jaffer <agj <at> alum.mit.edu> Date: 2012/1/10 Subject: Re: SRFI-60 integer->list and list->integer To: Sascha Ziemann <ceving <at> gmail.com> | Date: Tue, 10 Jan 2012 15:56:14 +0100 | From: Sascha Ziemann <ceving <at> gmail.com> | | Hello, | | I have a question about the integer->list function in SRFI-60. | | The function list->integer does not seem to be the reverse function | for integer->list: | | $ scm | > (list->integer (integer->list -1)) | 0 | | Is this the intended behavior?(Continue reading)
RSS Feed