Re: repl-utils show

2009-01-21 Thread Chouser
On Wed, Jan 21, 2009 at 10:29 AM, Mark Volkmann wrote: > > What does "321" represent? user=> (show 321 :bridge) === public final java.lang.Integer === [32] compareTo : int (Object) nil 321 is an Integer literal. When 'show' sees a non-class as its first argument, it fetchs the object's class

Re: repl-utils show

2009-01-21 Thread Mark Volkmann
On Wed, Jan 21, 2009 at 9:18 AM, Chouser wrote: > > On Wed, Jan 21, 2009 at 9:52 AM, Mark Volkmann > wrote: >> >> On Wed, Jan 21, 2009 at 7:44 AM, Chouser wrote: >>> >>> On Wed, Jan 21, 2009 at 12:05 AM, Chouser wrote: The predicate takes a map based on the 'bean' of the member objec

Re: repl-utils show

2009-01-21 Thread Chouser
On Wed, Jan 21, 2009 at 9:52 AM, Mark Volkmann wrote: > > On Wed, Jan 21, 2009 at 7:44 AM, Chouser wrote: >> >> On Wed, Jan 21, 2009 at 12:05 AM, Chouser wrote: >>> >>> The predicate takes a map based on the 'bean' of the member object, >>> but with :text and :member keys added. The :text is w

Re: repl-utils show

2009-01-21 Thread Mark Volkmann
On Wed, Jan 21, 2009 at 7:44 AM, Chouser wrote: > > On Wed, Jan 21, 2009 at 12:05 AM, Chouser wrote: >> >> The predicate takes a map based on the 'bean' of the member object, >> but with :text and :member keys added. The :text is what will be >> printed, the :member is the original member objec

Re: repl-utils show

2009-01-21 Thread Chouser
On Wed, Jan 21, 2009 at 12:05 AM, Chouser wrote: > > The predicate takes a map based on the 'bean' of the member object, > but with :text and :member keys added. The :text is what will be > printed, the :member is the original member object itself. This means that (as of clojure svn 1221) you c

Re: repl-utils show

2009-01-20 Thread Chouser
On Mon, Jan 19, 2009 at 1:09 PM, Stuart Sierra wrote: > > On Jan 19, 11:59 am, Chouser wrote: >> 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

Re: repl-utils show

2009-01-19 Thread Stuart Sierra
On Jan 19, 11:59 am, Chouser wrote: > 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

Re: repl-utils show

2009-01-19 Thread Michael Reid
On Mon, Jan 19, 2009 at 11:59 AM, Chouser wrote: > > On Sat, Jan 17, 2009 at 8:03 PM, pc 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 ===

Re: repl-utils show

2009-01-19 Thread Chouser
On Sat, Jan 17, 2009 at 8:03 PM, pc 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 (

repl-utils show

2009-01-17 Thread pc
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 I could always C-C C-O to flush the long outpu