[alexandria-devel] [Patch]: Fix an example in the docstring of iota.

Stas Boukarev stassats at gmail.com
Tue May 15 21:20:08 UTC 2012


Stas Boukarev <stassats at gmail.com> writes:

> Stas Boukarev <stassats at gmail.com> writes:
>
>> An example in the docstring of iota was
>> (iota 4) => (0 1 2 3 4)
>> while it should've been
>> (iota 4) => (0 1 2 3).
>
> Another problem seems to be with contagion when used with complex
> numbers:
> (alexandria:iota 5 :start 1 :step #c(1 2)) =>
> (1 #C(2 2) #C(3 4) #C(4 6) #C(5 8))
As I look at it more, it doesn't appear to be a problem, since it
conforms to the definition of contagion in CL.

-- 
With best regards, Stas.




More information about the alexandria-devel mailing list