Skip to content

Commit 45fa390

Browse files
committed
add show(::IO, ::Make)
1 parent 42063bf commit 45fa390

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/distributions.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ _deduce_type(::Type{T}, ::Val{false}, ::Type{X}, ::Type{Y}) where {T,X,Y} = dedu
7676
_deduce_type(::Type{T}, ::Val{true}, ::Type{X}) where {T,X} = T
7777
_deduce_type(::Type{T}, ::Val{false}, ::Type{X}) where {T,X} = T{X}
7878

79+
# show(::Make)
80+
81+
Base.show(io::IO, m::Make{T}) where {T} = print(io, typeof(m).name, "{", T, "}", m.x)
82+
7983

8084
## Uniform
8185

0 commit comments

Comments
 (0)