![](https://secure.gravatar.com/avatar/1f70a1d79c3eeb4dfc96678124c9b8a9.jpg?s=120&d=mm&r=g)
13 Dec
2012
13 Dec
'12
12:35 a.m.
When collecting values into a list, if the first value collected uses (collect val :at :beginning), and a subsequent value does not use the ":at :beginning" clause, then an error will occur: "The value nil is not of type cons". The following reproduces this error: (iterate (for i from 1 to 10) (if (oddp i) (collect i :at :beginning) (collect i)))