Skip to content

Commit

Permalink
update Julia Commit 171005cf35
Browse files Browse the repository at this point in the history
  • Loading branch information
wookay committed Nov 30, 2017
1 parent b39d795 commit 3fc96db
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion codex/stdlib/arrays.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Base.getindex(::Type, ::Any...)
Base.zeros
Base.ones
Base.BitArray
Base.BitArray(::Integer...)
Base.BitArray(::Uninitialized, ::Integer...)
Base.BitArray(::Any)
Base.trues
Base.falses
Expand Down
4 changes: 2 additions & 2 deletions codex/stdlib/io-network.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ output (such as images, formatted text, or even audio and video), consisting of
`x` (with a plain-text fallback).
* Overloading [`show`](@ref) allows one to indicate arbitrary multimedia representations (keyed by standard
MIME types) of user-defined types.
* Multimedia-capable display backends may be registered by subclassing a generic `Display` type
* Multimedia-capable display backends may be registered by subclassing a generic `AbstractDisplay` type
and pushing them onto a stack of display backends via [`pushdisplay`](@ref).

The base Julia runtime provides only plain-text display, but richer displays may be enabled by
Expand All @@ -111,7 +111,7 @@ PNG images in a window can register this capability with Julia, so that calling
types with PNG representations will automatically display the image using the module's window.

In order to define a new display backend, one should first create a subtype `D` of the abstract
class `Display`. Then, for each MIME type (`mime` string) that can be displayed on `D`, one should
class `AbstractDisplay`. Then, for each MIME type (`mime` string) that can be displayed on `D`, one should
define a function `display(d::D, ::MIME"mime", x) = ...` that displays `x` as that MIME type,
usually by calling [`reprmime(mime, x)`](@ref). A `MethodError` should be thrown if `x` cannot be displayed
as that MIME type; this is automatic if one calls [`reprmime`](@ref). Finally, one should define a function
Expand Down
1 change: 1 addition & 0 deletions codex/stdlib/linalg.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Base.LinAlg.svdfact
Base.LinAlg.svdfact!
Base.LinAlg.svd
Base.LinAlg.svdvals
Base.LinAlg.svdvals!
Base.LinAlg.Givens
Base.LinAlg.givens
Base.LinAlg.triu
Expand Down
2 changes: 1 addition & 1 deletion src/stdlib/arrays.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Base.getindex(::Type, ::Any...)
Base.zeros
Base.ones
Base.BitArray
Base.BitArray(::Integer...)
Base.BitArray(::Uninitialized, ::Integer...)
Base.BitArray(::Any)
Base.trues
Base.falses
Expand Down
4 changes: 2 additions & 2 deletions src/stdlib/io-network.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ output (such as images, formatted text, or even audio and video), consisting of
`x` (with a plain-text fallback).
* Overloading [`show`](@ref) allows one to indicate arbitrary multimedia representations (keyed by standard
MIME types) of user-defined types.
* Multimedia-capable display backends may be registered by subclassing a generic `Display` type
* Multimedia-capable display backends may be registered by subclassing a generic `AbstractDisplay` type
and pushing them onto a stack of display backends via [`pushdisplay`](@ref).

The base Julia runtime provides only plain-text display, but richer displays may be enabled by
Expand All @@ -111,7 +111,7 @@ PNG images in a window can register this capability with Julia, so that calling
types with PNG representations will automatically display the image using the module's window.

In order to define a new display backend, one should first create a subtype `D` of the abstract
class `Display`. Then, for each MIME type (`mime` string) that can be displayed on `D`, one should
class `AbstractDisplay`. Then, for each MIME type (`mime` string) that can be displayed on `D`, one should
define a function `display(d::D, ::MIME"mime", x) = ...` that displays `x` as that MIME type,
usually by calling [`reprmime(mime, x)`](@ref). A `MethodError` should be thrown if `x` cannot be displayed
as that MIME type; this is automatic if one calls [`reprmime`](@ref). Finally, one should define a function
Expand Down
1 change: 1 addition & 0 deletions src/stdlib/linalg.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Base.LinAlg.svdfact
Base.LinAlg.svdfact!
Base.LinAlg.svd
Base.LinAlg.svdvals
Base.LinAlg.svdvals!
Base.LinAlg.Givens
Base.LinAlg.givens
Base.LinAlg.triu
Expand Down

0 comments on commit 3fc96db

Please sign in to comment.