We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f6ed28 commit 11129a0Copy full SHA for 11129a0
src/array_partition.jl
@@ -98,6 +98,8 @@ end
98
Base.summary(A::ArrayPartition) = string(typeof(A), " with arrays:")
99
Base.show(A::ArrayPartition) = (Base.show.(A.x); nothing)
100
Base.display(A::ArrayPartition) = (println(summary(A));display.(A.x);nothing)
101
+Base.show(V::AbstractArray{<:ArrayPartition}) = ((Base.show.(A.x) for A in V); nothing)
102
+Base.display(V::AbstractArray{ArrayPartition}) = ((println(summary(A));display.(A.x) for A in V);nothing)
103
Base.print(A::ArrayPartition) = show(A)
104
Base.println(A::ArrayPartition) = show(A)
105
0 commit comments