Arc Forumnew | comments | leaders | submitlogin
5 points by almkglor 6115 days ago | link | parent

' introduces a constant. This means that for each call of breaker, it's referring to the same list. If you want to recreate a list each time, use list, not '.

Really, you should avoid using ' on lists unless you know exactly what ' does. ' on symbols is OK, but not ' on lists, because it does strange stuff.



1 point by raymyers 6114 days ago | link

Right. Of course, backtick'd lists with at least one comma are still born anew each time; i.e. `((,a)) is safe.

-----