4 ms·
Something I can't work out is list dot operators. Can someone point me to information on this? I did look, but I suspect I'm bad at searching... any pointers wo
by chris_wot 4y ago
Something I can't work out is list dot operators. Can someone point me to information on this? I did look, but I suspect I'm bad at searching... any pointers would be greatly appreciated!
- msk-lywenn 4y agoAre you talking about "(a . b)" ? The dot is not an operator. The dot is just there to denote a "pair". Linked lists in lisp are formed with pairs. So "(a b c)" is just a shorthand notation for "(a . (b . (c . null))". To sum it up: it's just syntax.