Minor tweak
parent
c1347699c4
commit
43672d90cb
|
@ -13,7 +13,7 @@ MACRO: set-slots ( slots -- quot )
|
|||
[ new ] dip set-slots ; inline
|
||||
|
||||
: define-constructor ( name class effect body -- )
|
||||
[ [ in>> ] dip '[ _ _ construct @ ] ] [ drop ] 2bi
|
||||
[ [ in>> '[ _ _ construct ] ] dip compose ] [ drop ] 2bi
|
||||
define-declared ;
|
||||
|
||||
: CONSTRUCTOR:
|
||||
|
|
Loading…
Reference in New Issue