chickadee » box » box-location

(box-location BOX [WEAK? #f]) => LOCATIONprocedure

Returns a LOCATION object for a boxed variable, location or locatable box. Signals an exception otherwise.

The locative is "strong" unless the WEAK? argument is #t. The WEAK? argument is ignored for boxed variables and locations.

The location of a boxed value or boxed location is the box. The location of a boxed variable is the same as (location (box-ref BOX)); currently the location of a symbol may not be taken.

See Locations.