Re: Read Microsoft Word .doc files in Clojure

2014-01-02 Thread Frank Hale
One solution is to use ClojureCLR and the OpenXML SDK. On Thu, Jan 2, 2014 at 11:08 AM, Dennis Haupt d.haup...@gmail.com wrote: use apache poi and write a small wrapper or something this is what i did 2014/1/2 Joshua Mendoza joshua.m...@gmail.com Hi!, I've been looking for libraries or

Re: [ClojureCLR] clr.tools.nrepl

2013-12-10 Thread Frank Hale
and 1.6alpha and support for mono and nuget for ClojureCLR. I plan to finish the core.async port (it's at 90%) and then get back to this. Unless someone beats me to it. -David On Monday, December 9, 2013 7:09:23 PM UTC-6, Frank Hale wrote: I'm attempting to run the CLR version of nREPL. I've cloned

[Clojure-CLR] implement interface that has properties

2013-12-09 Thread Frank Hale
I'm trying to implement an interface that has properties but can't quite seem to get it to work and I also have not found any relevant examples via Google (yet). I'm sure I'm doing something completely wrong here but have no idea how to fix it. (System.Reflection.Assembly/LoadWithPartialName

Re: [Clojure-CLR] implement interface that has properties

2013-12-09 Thread Frank Hale
: get_IsReusable On Mon, Dec 9, 2013 at 12:15 PM, John D. Hume duelin.mark...@gmail.comwrote: If I recall, properties are just syntactic sugar for awkwardly named methods. Have you tried the compiler-generated get and set method-names? On Dec 9, 2013 9:50 AM, Frank Hale frankh...@gmail.com wrote: I'm

Re: [Clojure-CLR] implement interface that has properties

2013-12-09 Thread Frank Hale
:24 PM, Frank Hale frankh...@gmail.com wrote: Hi John, Yes I've tried adding get_ to the property name but I'm still not doing something correctly. (defn foo-handler [] (reify System.Web.IHttpHandler (get_IsReusable [] false) (ProcessRequest [context] ( CompilerException

Re: [Clojure-CLR] implement interface that has properties

2013-12-09 Thread Frank Hale
It took me a few hours of research and trial and error but I think this will work: user= (def foo-handler (reify System.Web.IHttpHandler (get_IsReusable [this] false) (ProcessRequest [this context] ( #'user/foo-handler user= On Mon, Dec 9, 2013 at 12:38 PM, Frank Hale frankh...@gmail.com

[ClojureCLR] clr.tools.nrepl

2013-12-09 Thread Frank Hale
I'm attempting to run the CLR version of nREPL. I've cloned the code from: https://github.com/clojure/clr.tools.nrepl However, I'm not sure how to run the REPL. Doing lein run results in the following message: No :main namespace specified in project.clj. running lein compile doesn't fail but

Re: Clojure CLR versioning and binary downloads

2013-11-25 Thread Frank Hale
-6, Frank Hale wrote: As far as I can tell the Clojure CLR version number does not track the JVM version number at least for some builds. The latest build 1.5.0 as far as I can tell is at the same patch level as 1.5.1 on the JVM. This numbering seems confusing to me. Are there any plans

Re: Clojure CLR versioning and binary downloads

2013-11-25 Thread Frank Hale
, there you have to click on a link to get to the binary downloads and then you have to scroll through to find the SourceForge link. On Mon, Nov 25, 2013 at 1:38 PM, Frank Hale frankh...@gmail.com wrote: Thanks David for this information, I really appreciate the work you (and others) are doing

Clojure style

2013-11-25 Thread Frank Hale
Given the following code snippet would declaring a Var with an anonymous function be considered bad style? Would there be any real use cases where this would be regarded as a cleaner mechanism to declare a function rather than declaring one with defn? user= (def pow #(Math/pow %1 %2)) #'user/pow

Re: Clojure style

2013-11-25 Thread Frank Hale
(core.memoize, for instance). The work to set up the cache is done during namespace initialization and never after. On Mon, Nov 25, 2013 at 4:18 PM, Frank Hale frankh...@gmail.com wrote: Given the following code snippet would declaring a Var with an anonymous function be considered bad style

Re: Clojure CLR versioning and binary downloads

2013-11-25 Thread Frank Hale
/clojureclr to the binary download wiki page. I'm happy to update this page in whatever way people find useful - feel free to ping me on email David, Frank, or others. On Monday, November 25, 2013 12:48:51 PM UTC-6, Frank Hale wrote: Are there any plans to directly link the CLR downloads

Re: Clojure CLR versioning and binary downloads

2013-11-25 Thread Frank Hale
think that that page could be improved upon specifically for the other versions of Clojure that are out there. On Mon, Nov 25, 2013 at 5:15 PM, Frank Hale frankh...@gmail.com wrote: Awesome! Thanks Alex. On the current Clojure downloads page it's simple to get a copy of the JVM Clojure

Clojure CLR versioning and binary downloads

2013-11-22 Thread Frank Hale
As far as I can tell the Clojure CLR version number does not track the JVM version number at least for some builds. The latest build 1.5.0 as far as I can tell is at the same patch level as 1.5.1 on the JVM. This numbering seems confusing to me. Are there any plans to streamline the version

[ClojureCLR] Clojure.Compile.exe

2013-11-19 Thread Frank Hale
I'm using Clojure-CLR 1.5 and cannot get a simple hello,world to compile into an executable using Clojure.Compile.exe. Code: (ns clojureclr-test (:gen-class)) (defn -main [] (println Hello, World)) When I attempt to compile the code using Clojure.Compile.exe I get the following error:

Re: [ClojureCLR] Clojure.Compile.exe

2013-11-19 Thread Frank Hale
and Leiningen to run lein-clr. It automatically takes care of setting CLOJURE_LOAD_PATH and CLOJURE_COMPILE_PATH environment variables. Shantanu On Tuesday, 19 November 2013 22:18:07 UTC+5:30, Frank Hale wrote: I'm using Clojure-CLR 1.5 and cannot get a simple hello,world to compile

Re: [ClojureCLR] Clojure.Compile.exe

2013-11-19 Thread Frank Hale
Thanks Shantanu, I will look into lein-clr. On Tue, Nov 19, 2013 at 11:57 AM, Frank Hale frankh...@gmail.com wrote: Ugh, as it always goes right after posting to a mailing list you find out what the problem is. My clojure source file name was the problem. I had a dash in the filename

Re: [ANN] Leiningen 2.3.0 released

2013-08-08 Thread Frank Hale
Upgrading failed for me. C:\Users\majyk\Desktoplein upgrade The script at C:\Users\majyk\Desktop\local\lein.bat will be upgraded to the late st version in series 2.3.0-SNAPSHOT. Do you want to continue (Y/N)?Y Downloading latest Leiningen batch script... 1 file(s) moved. Upgrading...

Re: [ANN] Leiningen 2.3.0 released

2013-08-08 Thread Frank Hale
Looks like I was way too fast. Upgrading just worked for me. Thank you! On Thu, Aug 8, 2013 at 11:47 PM, Frank Hale frankh...@gmail.com wrote: Upgrading failed for me. C:\Users\majyk\Desktoplein upgrade The script at C:\Users\majyk\Desktop\local\lein.bat will be upgraded to the late st

Re: FYI: Intro to Clojure video from Java Tech Boise and Justin Reed

2013-08-04 Thread Frank Hale
That video seems to work fine for me. On Sun, Aug 4, 2013 at 3:56 PM, Jim - FooBar(); jimpil1...@gmail.comwrote: the video is not available from that link... Jim On 04/08/13 17:25, John Conti wrote: Hi all, Justin Reed recently spoke at our local user group on Clojure. One thing I

Re: [ANN] Nightcode, an IDE for Clojure and Java

2013-08-04 Thread Frank Hale
Zach, I just want to say THANK YOU for doing what you are doing. Your work is very much needed! Take care! On Sun, Aug 4, 2013 at 11:19 PM, Matthew Chadwick mathn...@gmail.comwrote: this is great! please please add structural editing (not simply bracket-matching in a text-editor, but

Re: Interest in a commercial IDE for Clojure?

2013-07-27 Thread Frank Hale
Hanging off the last couple comments on extracting IntelliJ's components which I think is quite interesting; Has anyone considered forking Jedit and using that as a basis for a Clojure development environment? It has a pretty darned good editor widget with the requisite syntax highlighting and the

Re: Problems building CounterClockwise

2013-03-03 Thread Frank Hale
, unknown-op) ... ClojureBuilder.lang does not exist and I don't know how to resolve it. On Sat, Mar 2, 2013 at 3:55 PM, Laurent PETIT laurent.pe...@gmail.comwrote: 2013/3/2 Frank Hale frankh...@gmail.com: Thank you. A friend and I were both trying to get it to build for several hours

Re: Problems building CounterClockwise

2013-03-03 Thread Frank Hale
that caused this. After fixing that line it now compiles fine. Sorry to bother you with this. On Sun, Mar 3, 2013 at 4:14 PM, Laurent PETIT laurent.pe...@gmail.comwrote: Hello again, 2013/3/3 Frank Hale frankh...@gmail.com: Thank you for the how-to on building but I'm still having issues building

Re: Problems building CounterClockwise

2013-03-02 Thread Frank Hale
Thank you. A friend and I were both trying to get it to build for several hours and we were throwing ideas back and forth and neither of us thought to check for a wiki on how to build it on the Google project page. I'll definitely give this a go. On Sat, Mar 2, 2013 at 5:12 AM, Laurent PETIT

Problems building CounterClockwise

2013-03-01 Thread Frank Hale
I'm trying to build the CounterClockwise plugin for Eclipse and am stuck with the following build path problem: Project 'ccw.core' is missing required library: 'lib' Has anyone here encountered that and know how to resolve it? I've done a search on Google but I'm not finding any results. I have

Clojure-CLR - Where to report issues?

2013-02-20 Thread Frank Hale
I wanted to report an issue with Clojure-CLR 1.4.1 that I am seeing but the issues section on the Clojure-CLR Github must be disabled because the link is not showing up. When I run the REPL I get a lot of duplicated warnings. I've pasted the warnings below.

Re: Clojure-CLR - Where to report issues?

2013-02-20 Thread Frank Hale
/browse/CLJCLR Andy On Feb 20, 2013, at 12:58 PM, Frank Hale wrote: I wanted to report an issue with Clojure-CLR 1.4.1 that I am seeing but the issues section on the Clojure-CLR Github must be disabled because the link is not showing up. When I run the REPL I get a lot of duplicated warnings

Re: Clojure-CLR - Where to report issues?

2013-02-20 Thread Frank Hale
in your ClojureCLR setup. protocols.clj should not be loading. It should be AOT-compiled. We can work from the JIRA ticket. -David On Wednesday, February 20, 2013 3:30:52 PM UTC-6, Frank Hale wrote: Thank you. New ticket created. On Wed, Feb 20, 2013 at 4:20 PM, Andy Fingerhut andy.fi

Re: Name suggestions

2010-03-19 Thread Frank Hale
clojure + native = clotive On Thu, Mar 18, 2010 at 10:36 AM, Alexandre Patry patry...@iro.umontreal.ca wrote: On Wed, Mar 17, 2010 at 3:08 AM, mac markus.gustavs...@gmail.com wrote: After just a little more test and polish I plan on calling clj-native 1.0. But clj-native is a *really*