Arc Forumnew | comments | leaders | submitlogin
3 points by conanite 5592 days ago | link | parent

obj is a macro for creating tables inline that internally uses table

  arc> (obj a 1 b 2)
  #hash((b . 2) (a . 1))
  arc> (table)
  #hash()
table takes an optional initialiser function,

  arc> (table [= _!a 1 _!b 2])
  #hash((b . 2) (a . 1))
so they are different ways of initialising tables.


2 points by proponent 5592 days ago | link

Thank you; I had been unaware of the optional initialiser argument to table .

-----