Add the ability to specify a reference to the current pclass instance, available as a pclass-ctor-arg in field initial values. This would be analogous to this or self, special symbols available in other languages (e.g., Python and Java).
(defpclass finger [my-hand]
:fields {hand my-hand})
(defpclass hand []
;; A two-digit hand...
:fields {finger1 (finger this)
finger2 (finger this)
}
:methods [(defpmethod main []
)])
Add the ability to specify a reference to the current pclass instance, available as a pclass-ctor-arg in field initial values. This would be analogous to
this
orself
, special symbols available in other languages (e.g., Python and Java).