2 ms·
Well, I've learned some things. I'm still confused about '(1. . #\#) So it's a pair containing 1.0 and pound? It's the 1. I find surprising. You can omit th
by didibus 9y ago
Well, I've learned some things.
I'm still confused about '(1. . #\#)
So it's a pair containing 1.0 and pound?
It's the 1. I find surprising. You can omit the number after the dot?
Oh, and what's improper about `(1 ,@2) ? Wouldn't it evaluate to (1 2) ?
- GregBuchholz 9y agoIn "'(1. . #\#)" the "1." is a number. You are correct that you don't need digits after the decimal point. And #\# is just the pound character. `(1 ,2) is a proper list, and `(1 ,@2) is an improper list. You'll want to check out unquote-splicing: http://www.cs.rpi.edu/academics/courses/fall00/ai/scheme/reference/schintro-v14/schintro_129.html#SEC182 http://www.cs.rpi.edu/academics/courses/fall00/ai/scheme/ref...