From 87bab4982d6fa2b7aa00e3f89298cabb2f3ac27a Mon Sep 17 00:00:00 2001 From: Jameson Nash Date: Wed, 1 Jul 2020 21:52:50 -0400 Subject: [PATCH] show: print types using exported type-aliases (JuliaLang/julia#36107) For example, this prints Array{T,1} as Vector{T} and Array{T,2} as Matrix{T} and Base.GenericIOBuffer{Array{UInt8,1}} as IOBuffer, and thus generalizes some existing code. Co-authored-by: Kristoffer Carlsson --- src/pmap.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pmap.jl b/src/pmap.jl index db3dde9ecb573..8111223fdd3f1 100644 --- a/src/pmap.jl +++ b/src/pmap.jl @@ -242,7 +242,7 @@ julia> b, c = Distributed.head_and_tail(1:10, 3) ([1, 2, 3], Base.Iterators.Rest{UnitRange{Int64},Int64}(1:10, 3)) julia> collect(c) -7-element Array{Int64,1}: +7-element Vector{Int64}: 4 5 6