(typed-get) ( name type getter: ( name -- value ) -- value )


Vocabulary
typed.namespaces

Inputs
namean object
typean object
gettera quotation with stack effect ( name -- value )


Outputs
valuean object


Definition


:: (typed-get)
( name type getter: ( name -- value ) -- value )
name getter call :> value value type instance?
[ name value type variable-type-error ] unless
value type declare1 ; inline