I want to create a sequence, however to create its every element I need access to the two previous elements. What is the generic way to do such things in clojure ?
So two slightly diff cases - a) seq is (a b c) when I am processing c I want to have access to a and b .... b) and having such ability to create the sequence itself by always being able to access th two previous elements.
Thanks, Murtaza