<mirror> ( object -- mirror )
Factor handbook > The language > Objects > Mirrors

Prev:mirror
Next:make-mirror ( obj -- assoc )


Vocabulary
mirrors

Inputs and outputs
objectan object
mirrora mirror


Word description
Creates a mirror reflecting an object.

Examples
USING: assocs mirrors prettyprint ; IN: scratchpad TUPLE: circle center radius ; C: <circle> circle { 100 50 } 15 <circle> <mirror> >alist .
{ { "center" { 100 50 } } { "radius" 15 } }


Definition