[swift-evolution] Pitch: Documentation access from the Swift REPL

Roope Kangas roopekangas at gmail.com
Fri Jun 9 00:47:14 CDT 2017

I am new to Swift and just started learning but...

When exploring standard library and the language it self from the REPL.
Users currently need to switch between a browser to read documentation and
REPL it self.

What I would like to see in the REPL is behaviour like this:

 1> :help print

  Writes the textual representations of the given items into the standard


This means somekind of nice textual version of what I find here:

I see that in the source code this information is available

And that in playgrounds I can get this quick help. Would be really nice
to access this from the REPL too.


Roope Kangas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170609/9e3c1a5a/attachment.html>

More information about the swift-evolution mailing list