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