I'm trying to make a new list that is made up of 2 pre-existing lists. Basically, if a
is a list and b
is a list, I want to make List c
which is the elements of a
followed by the elements of b
. Any help is appreciated!
You are looking for concat function:
(concat a b)
For example:
(concat '(1 2) '(2 3 4))
:> (1 2 2 3 4)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With