Re: problem with Character/isLetter

2010-06-07 Thread Michael Wood
On 7 June 2010 16:50, .Bill Smith wrote: > To complete the thought, > > user=> (Character/isLetter \x) > true > user=> (Character/isLetter (.charAt "x" 0)) > true or: user=> (first "x") \x user=> (Character/isLetter (first "x")) true > On Jun 7, 6:17 am, Moritz Ulrich wrote: >> isLetter accept

Re: problem with Character/isLetter

2010-06-07 Thread .Bill Smith
To complete the thought, user=> (Character/isLetter \x) true user=> (Character/isLetter (.charAt "x" 0)) true On Jun 7, 6:17 am, Moritz Ulrich wrote: > isLetter accepts single characters, you gave it a string with a length of one. > The error is caused by reflection when clojure searches for a f

Re: problem with Character/isLetter

2010-06-07 Thread Moritz Ulrich
isLetter accepts single characters, you gave it a string with a length of one. The error is caused by reflection when clojure searches for a function with the signature isLetter(String) On Monday, June 7, 2010, AJ Sterman wrote: >  (Character/isLetter "x") > # method found: isLetter (NO_SOURCE_FI