Check-in [e6d31c3d8a]

Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:TIP 516: xref to implementation and some notes based on that experience
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: e6d31c3d8a938b78c9b8b93bfb181e4c9d655a72596fe080c323b92d8af8dc57
User & Date: dkf 2018-09-08 12:53:27
Context
2018-09-11
08:16
Simplify the resolution protocol check-in: a35300bfa3 user: dkf tags: trunk
2018-09-08
12:53
TIP 516: xref to implementation and some notes based on that experience check-in: e6d31c3d8a user: dkf tags: trunk
2018-09-07
13:41
Created TIP 516: More OO Slot Operations check-in: 0299230758 user: dkf tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to tip/516.md.

    42     42     * _slot_ `-remove` ?_item_ ...?
    43     43   
    44     44       This removes the _item_ (or items) from the list of items in the slot. If
    45     45       an _item_ is not present in the slot, this does nothing; it is not an
    46     46       error to remove a non-present item. If there are no such items in the
    47     47       arguments, this does nothing; it is not an error to remove no items.
    48     48   
           49  +To support this, an extra internal operation is added:
           50  +
           51  +  * _slot_ `Resolve` _list_
           52  +
           53  +    This returns the items of _list_ with a resolution operation applied to
           54  +    them. The meaning of this operation will depend on the kind of values held
           55  +    in a particular slot, but for a slot of classes then the relevant type of
           56  +    resolution would be command resolution. (The main slot method
           57  +    implementation classes will ensure that this method is always called in a
           58  +    context where the resolution context is that of the caller.)
           59  +
    49     60   # Implementation
    50     61   
    51         -To be done...
           62  +See the `tip-516` branch.
    52     63   
    53     64   # Copyright
    54     65   
    55     66   This document has been placed in the public domain.