That's a great idea. I guess the easiest way to implement this is to
make it standard to include tags: at the top or bottom of a docstring:

(defn pmap
  "tags: parallel, map
  Blah blah blah."
  ...)

(find-doc "parallel")
---
(pmap ...)
  tags: parallel, map
  Blah blah blah.

That'd be a cool, useful, easy, and, to my knowledge, unique little
convention. It'd solve the problem of having to include common
synonyms for people searching with find-doc. I hope that the core API
would implement this.

On Mar 9, 5:53 am, Mark Volkmann <r.mark.volkm...@gmail.com> wrote:
> On Mon, Mar 9, 2009 at 4:03 AM, Tuomas J. Lukka <tuomas.lu...@gmail.com> 
> wrote:
>
>
>
> > In fact, how about adding tags to the actual docstrings of the
> > functions? That way, this could be automatized in the future.
>
> I suggested that a couple of months ago and didn't get any feedback. I
> agree it would be a nice thing to do. Imagine being in a REPL and
> having to ability to enter something like (forms "logical") and
> getting back (and every? not not-any? not-every? or some).
>
> --
> R. Mark Volkmann
> Object Computing, Inc.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to