Skip to content

Commit

Permalink
Document Union in the stdlib
Browse files Browse the repository at this point in the history
… so it shows up in help at the REPL.  My language here is substantially simpler than the description in the manual, but I believe that it is still semantically correct.
  • Loading branch information
mbauman committed Feb 11, 2015
1 parent 760f35a commit 2738d12
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/stdlib/base.rst
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,10 @@ Types

Compute a type that contains the intersection of ``T`` and ``S``. Usually this will be the smallest such type or one close to it.

.. function:: Union(Ts...)

Construct a special abstract type that behaves as though all of the types in ``Ts`` are its subtypes.

.. function:: Val{c}

Create a "value type" out of ``c``, which must be an ``isbits``
Expand Down

0 comments on commit 2738d12

Please sign in to comment.