remove type rendering overload
This commit is contained in:
parent
51b572f709
commit
f3555a9c57
|
@ -14,9 +14,6 @@ convert{T,S}(::Type{Batch{T,S}},storage::S) =
|
|||
batchone(x) = Batch((x,))
|
||||
batchone(x::Batch) = x
|
||||
|
||||
Media.render{T<:Batch}(i::Juno.Inline, b::Type{T}) =
|
||||
render(i, Row(Juno.typ("Batch"), text"{", eltype(T), text"}"))
|
||||
|
||||
@render Juno.Inline b::Batch begin
|
||||
Tree(Row(Text("Batch of "), eltype(b),
|
||||
Juno.fade("[$(length(b))]")),
|
||||
|
|
|
@ -11,9 +11,6 @@ Seq(xs) = Seq(CatMat(xs))
|
|||
convert{T,S}(::Type{Seq{T,S}},storage::S) =
|
||||
Seq{T,S}(storage)
|
||||
|
||||
Media.render{T<:Seq}(i::Juno.Inline, b::Type{T}) =
|
||||
render(i, Row(Juno.typ("Seq"), text"{", eltype(T), text"}"))
|
||||
|
||||
@render Juno.Inline b::Seq begin
|
||||
Tree(Row(Text("Seq of "), eltype(b),
|
||||
Juno.fade("[$(length(b))]")),
|
||||
|
|
Loading…
Reference in New Issue