remove type rendering overload

This commit is contained in:
Mike J Innes 2016-12-15 22:36:40 +00:00
parent 51b572f709
commit f3555a9c57
2 changed files with 0 additions and 6 deletions

View File

@ -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))]")),

View File

@ -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))]")),