Fork me on GitHub
#core-logic
<
2020-03-26
>
niveauverleih16:03:58

Thank you, @hiredman! So in Clojure, cons doesn't allow me to explicitly set the right hand side of a cell, because it expects a list as 2nd argument. In Clojure, a list is made up of cons cells, but I cannot manipulate the cells directly, right?

hiredman16:03:14

it is complicated, clojure tends to be more concerned with seqs, which are not a concrete data type

hiredman16:03:55

clojure has an explicit list type, but it isn't used nearly as often, most of the time when you think something is a list it is actually some species of seq

hiredman16:03:20

and clojure.core/cons builds a seq, not a list

hiredman16:03:49

but it is true that neither seqs nor lists can be improper in clojure