-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Description
I think the two strings componenents and one string summaryized probably should read components and summarized.
$ sed -n '196,201p' /tmp/StructArrays.jl/src/utils.jl
"""
findconsistentvalue(f, componenents::Union{Tuple, NamedTuple})
Compute the unique value that `f` takes on each `component ∈ componenents`.
If not all values are equal, return `nothing`. Otherwise, return the unique value.
"""
$ sed -n '1244,1255p' /tmp/StructArrays.jl/test/runtests.jl
# The following code defines `MyArray1/2/3` with different `BroadcastStyle`s.
# 1. `MyArray1` and `MyArray1` have `similar` defined.
# We use them to simulate `BroadcastStyle` overloading `Base.copyto!`.
# 2. `MyArray3` has no `similar` defined.
# We use it to simulate `BroadcastStyle` overloading `Base.copy`.
# 3. Their resolved style could be summaryized as (`-` means conflict)
# | MyArray1 | MyArray2 | MyArray3 | Array
# -------------------------------------------------------------
# MyArray1 | MyArray1 | - | MyArray1 | MyArray1
# MyArray2 | - | MyArray2 | - | MyArray2
# MyArray3 | MyArray1 | - | MyArray3 | MyArray3
# Array | MyArray1 | Array | MyArray3 | Array
$
Metadata
Metadata
Assignees
Labels
No labels