On Sat, Jan 17, 2009 at 8:03 PM, pc <peng2che...@yahoo.com> wrote:
>
> This is very useful. For me it was useful to be able to limit the
> output to lines that contained a few selected letters.
>
> (show String "pper")
> ===  public final java.lang.String  ===
> [82] toUpperCase : String ()
> [83] toUpperCase : String (Locale)
> nil

This is a good idea, thanks.  I've got a version here that allows
a full regex match, and is by default case-insensitive.  I think both
these are good.

But my version also only allows matches on the method name (not on
return value or argument class names).  At first I thought this was
also good, but now I'm less sure.  How often do you think you'd want
to be able to search on a method's argument names, vs. how many
unhelpful matches you'd get doing (show String "string") ?  Opintions?

--Chouser

--~--~---------~--~----~------------~-------~--~----~
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