3 SPDX-FileCopyrightText: 2025 Lady <https://www.ladys.computer/about/#lady>
4 SPDX-License-Identifier: CC0-1.0
6 <!DOCTYPE Class SYSTEM "../../DTD">
8 <label xml:lang="en">Slot</label>
9 <comment xml:lang="en">
11 A <ref target="ore:Proxy">Proxy</ref> representing a single item in an <ptr target="olo:OrderedList">Ordered List</ptr>.
14 Slots are required to have an <ref target="olo:index">index</ref>, which should be less than or equal to its <ref target="olo:ordered_list">ordered list</ref>¦s <ref target="olo:length">length</ref>, and an <ref target="olo:item">item</ref>, providing the thing being proxied by the slot.
17 A Slot is not actually required to have an ordered list by <ptr target="(OLO)"/>, and this caveat may prove useful for ordered slots in <ref target="ore:Aggregation">Aggregations</ref> of indeterminate length, or Aggregations which allow multiple slots with identical indices.
18 In these cases, Slots will still never·the·less <ref target="ore:proxyIn">be a proxy in</ref> some Aggregation, which provides the context for interpreting their index.
22 <SpecificResource source="(OLO)" fragment="Slot"/>
25 <resource name="ore:Proxy"/>
30 <resource name="olo:index"/>
32 <cardinality>1</cardinality>
38 <resource name="olo:item"/>
40 <cardinality>1</cardinality>
46 <resource name="olo:ordered_list"/>
48 <maxCardinality>1</maxCardinality>
52 <resource name="olo:ordered_list"/>
53 <resource name="olo:index"/>