Arc Forumnew | comments | leaders | submitlogin
3 points by akkartik 5315 days ago | link | parent

  a.b <=> (a b)
  a!b <=> (a 'b)
I'm not sure how a.a is working for you above.

  (= a (obj a 1 b 3))
  a.a ; Error: "reference to undefined identifier: _a"


3 points by evanrmurphy 5315 days ago | link

I get the same result as garply:

  arc> (= a (obj a 1 b 3))
  #hash((b . 3) (a . 1))
  arc> a.a
  nil
For me, a.x appears to return nil for any bound x, else it returns the error:

  arc> a.x
  Error: "reference to undefined identifier: _x"
  arc> (let x 'foo
         a.x)
  nil
Maybe an Anarki patch is responsible for the difference?

-----