Skip to content

Commit

Permalink
Adding in a w/object macro that lets you refer to the object
Browse files Browse the repository at this point in the history
  • Loading branch information
Pauan committed May 27, 2011
1 parent 8f288d6 commit 6ea1169
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/object.arc
Expand Up @@ -169,3 +169,7 @@
`(set-attribute ,x ',k ,v))
(pair args))
(annotate 'object ,x))))

(mac w/object (name . args)
`(letr ,name (object ,@args)
,name))

0 comments on commit 6ea1169

Please sign in to comment.