← Back to context Comment by liontwist 1 year ago Yes. the right thing to do is to treat a list as a general case and other uses of cons as special case 2 comments liontwist Reply codr7 1 year ago I've flipped that idea around in a few of my own language designs, where pairs are the central feature and lists are just pairs with pair cdrs. Works fine from what I can see. liontwist 1 year ago Yes pairs is the 1980s lisp design, but it’s not good for modern caches. Both obviously work.
codr7 1 year ago I've flipped that idea around in a few of my own language designs, where pairs are the central feature and lists are just pairs with pair cdrs. Works fine from what I can see. liontwist 1 year ago Yes pairs is the 1980s lisp design, but it’s not good for modern caches. Both obviously work.
liontwist 1 year ago Yes pairs is the 1980s lisp design, but it’s not good for modern caches. Both obviously work.
I've flipped that idea around in a few of my own language designs, where pairs are the central feature and lists are just pairs with pair cdrs. Works fine from what I can see.
Yes pairs is the 1980s lisp design, but it’s not good for modern caches. Both obviously work.