Thanks Dave, I come out with that too...
I put the wrong question honestly, but why the atom is not working I wonder
?
On Thursday, January 10, 2013 2:43:27 AM UTC+1, Dave Sann wrote:
>
> Create the atom in a let, in the function - so it's new and isolated
>
> better still - use an accumulator i
Create the atom in a let, in the function - so it's new and isolated
better still - use an accumulator in the loop, not an atom.
take, map an others are lazy. you may need to (doall ...)
Dave
On Thursday, 10 January 2013 08:22:57 UTC+11, Simone Mosciatti wrote:
>
> Hi everybody,
>
> I was impl
Hi everybody,
I was implementing a skip list, just for fun.
I implemented the list and just to be sure that it were working I wanted to
count how many steps it compute to find a value.
SkipList --> http://en.wikipedia.org/wiki/Skip_list
To do so I was using a atom, and the code looks like this: