Arc Forumnew | comments | leaders | submitlogin
(= (lst.0 'key) 'value) doesn't work for list contained a table
1 point by zhtw 5922 days ago | 2 comments
This

  (let lst (list (table))
    (= (lst.0 'key) 'value))
says Error: "Can't invert ((lst 0) (quote key))" while this

  (let lst (list (table))
    (= ((lst 0) 'key) 'value))
works well. Is it a bug?


1 point by almkglor 5922 days ago | link

Is this the classic PG ArcN from http://ycombinator.com/arc/arc2.tar ? I think it's a bug in that version only, which fails with symbol syntax.

-----

1 point by zhtw 5921 days ago | link

Yes. So now I really have to switch to your branch of Arc. (Just didn't want to do it while everything was working in originall Arc2.)

-----