[racket-dev] Better than roogle? (was: Re: Roogle?)

From: John Clements (clements at brinckerhoff.org)
Date: Fri Aug 5 11:36:44 EDT 2011

... related idea I had about two years ago: don't search on types, search on inputs & desired outputs.  So:

(? (list 3 4 5)) => (list 5 4 3)

... produces "reverse".  How does it get there? By simply trying them all.  You could narrow the search by checking first for arity, and then perhaps by doing clever things with contracts.

In my mind, this has the same "just close your eyes and search" attitude that has made google so useful.

John


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4624 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20110805/9195603b/attachment.p7s>

Posted on the dev mailing list.