| I'm running into trouble referencing a hash field when defining a macro. Can anyone help get this right? arc> (mac somemacro (someobj)
`(if ,someobj!field t nil))
#(tagged mac #<procedure: somemacro>)
arc> (= oo (obj a 1 b 2))
#hash((a . 1) (b . 2))
arc> oo!a
1
arc> (somemacro oo)
Error: "Function call on inappropriate object oo (field)"
Thanks. |