cons currently behaves like so:
(cons '(1 2) '(3))
;=> ((1 2) 3)
I would like to achieve:
(magic-cons '(1 2) '(3))
;=> (1 2 3)
I couldn't find a resource for this yet this seems so simple I feel there should be a built in function.
Or I just don't know the write words to describe this situation. Either way, please let me know. Thanks!
Edit: Please don't answer with "flatten" :P ie
(flatten (cons '(1 2) '(3)))