#TIL that #Scheme and #CommonLisp append function can return non-lists! And no, I'm talking or neither symbol NIL nor throwing errors. See for yourself in your favorite REPL:
(append '() 'a)
;; => A
This (appending empty list to a non-list last argument) is wild historic shit that doesn't really make sense to me. But I'm not sure how I'd behave in this situation either. Error out?






