On Tuesday, January 26, 2016 at 6:03:41 PM UTC-5, Robby Findler wrote:
> In DrRacket you can type f1 when your insertion point is on the word "help".
> 
> Robby

Awesome - thanks. I'm not sure if you meant 'insertion point is on the word 
"filter" ', or not, but for fun, I hit F1 with the insertion point on "help" 
and got meta-help which showed me 18.3 Interactive Help.

I then evaluated (require racket/help) in the repl, then tried evaluating (help 
filter)

A web page was opened, but not the help for filter (it was 4.9 Pairs and 
Lists), and the repl had the following:

> (require racket/help)
> (help filter)
Loading help index...
Sending to web browser...
  file: /Applications/Racket v6.3/doc/reference/pairs.html
  anchor: (def._((lib._racket/private/list..rkt)._filter))
osascript: OpenScripting.framework - scripting addition 
"/Library/ScriptingAdditions/Adobe Unit Types.osax" cannot be used with the 
current OS because it has no OSAXHandlers entry in its Info.plist.
> 

Hitting F1 when the insertion point is on filter works great though :)

I also tried (help "filter")   and that does open up a more relevant page - the 
search results for searching help with filter; where the command-line repl 
opens up the page with the help for filter - the command-line (help) form 
appears to expect a procedure symbol and shows the specific help for it.


> On Tue, Jan 26, 2016 at 4:28 PM, Brian Adkins wrote:
> > I was doing some reading on Scheme, and I came across the following page:
> >
> > http://bastibe.de/2012-09-20-story-about-schemes.html
> >
> > The author mentions:
> >
> > "That said, I found plt-racket to be a joy to work with. (help filter) will 
> > open your browser with the appropriate help page for filter. Amazing. "
> >
> > I thought that was pretty cool, so I tried it in Dr. Racket and got: "help: 
> > undefined"
> >
> > When I try it in the command-line REPL for racket, it worked great. I was 
> > just curious why it works in the command-line REPL, but not Dr. Racket - do 
> > I need to configure something for Dr. Racket?
> >
> > It's not a big deal because I usually just keep a browser tab opened to the 
> > help and use the integrated search feature, but it could be handy on 
> > occasion.
> >
> > Thanks,
> > Brian

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to