@@ -211,7 +211,7 @@ Base.Symbol(vn::VarName) = Symbol(string(vn)) # simplified symbol
211211 inspace(vn::Union{VarName, Symbol}, space::Tuple)
212212
213213Check whether `vn`'s variable symbol is in `space`. The empty tuple counts as the "universal space"
214- containing all variables. Subsumption (see [`subsume `](@ref)) is respected.
214+ containing all variables. Subsumption (see [`subsumes `](@ref)) is respected.
215215
216216## Examples
217217
@@ -322,6 +322,11 @@ subsumes(
322322) = subsumes_indices (t, u)
323323
324324
325+ """
326+ subsumedby(t, u)
327+
328+ True if `t` is subsumed by `u`, i.e., if `subsumes(u, t)` is true.
329+ """
325330subsumedby (t, u) = subsumes (u, t)
326331uncomparable (t, u) = t ⋢ u && u ⋢ t
327332const ⊒ = subsumes
@@ -513,7 +518,7 @@ julia> y = zeros(10, 10);
513518julia> @varname(y[:], true)
514519y[:]
515520
516- julia> # The underlying value is conretized , though:
521+ julia> # The underlying value is concretized , though:
517522 AbstractPPL.getoptic(AbstractPPL.concretize(@varname(y[:]), y)).indices[1]
518523ConcretizedSlice(Base.OneTo(100))
519524```
@@ -525,11 +530,11 @@ concretize(vn::VarName, x) = VarName(vn, concretize(getoptic(vn), x))
525530
526531A macro that returns an instance of [`VarName`](@ref) given a symbol or indexing expression `expr`.
527532
528- If `concretize` is `true`, the resulting expression will be wrapped in a [ `concretize`](@ref) call.
533+ If `concretize` is `true`, the resulting expression will be wrapped in a `concretize()` call.
529534
530535Note that expressions involving dynamic indexing, i.e. `begin` and/or `end`, will always need to be
531536concretized as `VarName` only supports non-dynamic indexing as determined by
532- [`is_static_index`](@ref) . See examples below.
537+ `is_static_optic` . See examples below.
533538
534539## Examples
535540
0 commit comments