Re: Inflection on clojure.java.io/reader and writer

2013-02-05 Thread Kanwei Li
>> >> # Now I hand-edit obj/solutions.clj to add the type hints, and recompile. >> No reflection warnings. >> % java -Dclojure.compile.path=./obj -cp clojure-1.4.0.jar:./obj >> clojure.lang.Compile solution >> Compiling solution to ./obj >> % >> >

Re: atl-clj: Atlanta, GA, USA Clojure meetup

2013-02-04 Thread Kanwei Li
Thanks for posting this. See you next week! On Monday, February 4, 2013 10:58:32 AM UTC-5, Marshall Bockrath-Vandegrift wrote: > > Hi all: > > As I myself missed when this group got started, I’d like to > delayed-announce the existence of atl-clj, a meetup group for Clojure > users in the Atla

Re: Inflection on clojure.java.io/reader and writer

2013-02-04 Thread Kanwei Li
d > good success with eliminating reflection using type hints, so it should be > possible to make it work. > > Andy > > On Feb 3, 2013, at 12:50 PM, Kanwei Li wrote: > > Unfortunately it doesn't work. > > Reflection warning, NO_SOURCE_PATH:20 - call to write can't b

Re: Inflection on clojure.java.io/reader and writer

2013-02-03 Thread Kanwei Li
Unfortunately it doesn't work. Reflection warning, NO_SOURCE_PATH:20 - call to write can't be resolved. Reflection warning, NO_SOURCE_PATH:21 - reference to field newLine can't be resolved. On Sunday, February 3, 2013 2:35:23 PM UTC-5, Luc wrote: > > Why not add type hints like this ? > > (let

Inflection on clojure.java.io/reader and writer

2013-02-03 Thread Kanwei Li
Hey guys, I'm trying to read a lot of data, sometimes from *in* and sometimes from a file. I extensively use the native .write and .read java methods. According to the clojure doc for reader, it says that "Default implementations always return a BufferedReader". However, when I write, (*defn*

Documentation fix for refs

2009-04-27 Thread Kanwei Li
Could the documentation at http://clojure.org/refs be updated to reflect the latest laziness changes? fnseq has been removed and there's no mention anywhere of how to modify the code. Thank you! --~--~-~--~~~---~--~~ You received this message because you are subs