Mistake in indexing?

For the Compleat Fan
Locked
alex
Posts: 100
Joined: Thu Mar 10, 2005 2:27 pm
Location: Russia

Mistake in indexing?

Post by alex »

See newliisp dialog:
  • > (setq mylist '(1 (2 2)))
    (1 (2 2))
    > (setq x 1)
    1
    > (mylist 1 1)
    2
    > (mylist 1 x)
    2
    > (mylist x 1)
    (2 2)
Why
(mylist x 1) -> (2 2)
?
It is write?

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

This was fixed in 8.5.10 and is working correctly on 8.6.0 and 8.6.1.

Lutz

alex
Posts: 100
Joined: Thu Mar 10, 2005 2:27 pm
Location: Russia

Post by alex »

I am crazy :(
:)

Locked