Hacker News new | ask | show | jobs
by tizoc 4296 days ago
In Scheme asking for the car or cdr of an empty list is an error, and in Common Lisp it isn't (the result is the empty list itself).

In Shen you have "hd" and "tl" which use whatever the platform provides (in Scheme it is going to fail, in Common Lisp it is going to return the empty list), and "head" and "tail" which work the same on all platforms (it is an error to pass an empty list to them, just like in Scheme).

> If I manage to get Shen working (under Chibi) it will be even more interesting to see what it does.

What problems are you experiencing? Please submit an issue on Github and I will look into it.