Is there some central information available on Java 9 compatibility for Clojure and tools
Some time ago I tried Java 9 and reverted back to 8 when I ran into problems. Is there conclusive info on the versions which will definitely (not) work correctly with Java 9? - Clojure itself - Leiningen - LightTable - etc. -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [ANN] Leiningen 2.5.1 released
Hi, on Windows I get a certificate error: C:\Windows\system32lein self-install Downloading Leiningen now... --2015-01-11 18:06:04-- https://github.com/technomancy/leiningen/releases/downl oad/2.5.1/leiningen-2.5.1-standalone.zip Resolving github.com... 192.30.252.130 Connecting to github.com|192.30.252.130|:443... connected. ERROR: cannot verify github.com's certificate, issued by `/C=US/O=DigiCert Inc/O U=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA': Unable to locally verify the issuer's authority. To connect to github.com insecurely, use `--no-check-certificate'. Unable to establish SSL connection. Failed to download https://github.com/technomancy/leiningen/releases/download/2. 5.1/leiningen-2.5.1-standalone.zip -Arie 2015-01-09 20:25 GMT+01:00 Phil Hagelberg p...@hagelb.org: Greetings, hackers. I'm happy to announce the release of Leiningen version 2.5.1. This version contains mostly minor fixes related to profiles and aliases, but also a fix for a rather annoying issue that caused lein upgrade/downgrade/self-install to break on Windows. Here's a full list of user-visible changes: * No longer skip certificate checking when upgrading on Windows. (Phil Hagelberg) * Fix password prompt for Cygwin users. (Carsten Behring) * Fix a bug where `lein pom` did not add the project's SCM URL to pom.xml. (Fredrick Giasson) * `lein clean` now cleans up all profile targets. (Jeb Beich, Jim Crossley) * The order included profiles are merged in is now retained. (Jim Crossley) * Fix a bug preventing `update-in` to use functions not yet required. (Phil Hagelberg) * Allow multiple `:repl` profiles. (Hugo Duncan) * Fix an infinite recursion bug with aliases and `with-profile`. (Hugo Duncan) * Add flexibility in jar manifest declarations. (Fabio Tudone) * Fix a bug preventing extra profiles from being included in jars. (Hugo Duncan) * Fix a bug in self-install on Windows. (Sindunata Sudarmaji) For those who manually installed, `lein upgrade` will pull in the latest, and `lein downgrade 2.5.0` will back it down to the previous version if you run into any issues. Thanks to all the contributors who made this happen! -Phil ps. Since the last release, GitHub introduced a bug into their downloads system which caused it to refuse jar files that didn't end in .zip. This should not cause any problems for end users, but downstream packagers who use the uberjars we provide will have to change their URL scheme to adapt. -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: lein 2.4.3 repl outside project?
I've got the same error. Windows 8.1 Leiningen 2.4.3 on Java 1.8.0_20 Java HotSpot(TM) Client VM 2014-08-28 17:28 GMT+02:00 Tim Visher tim.vis...@gmail.com: Anyone else get this error? lein repl Downloading Leiningen to /Users/tim/.lein/self-installs/leiningen-2.4.3-standalone.jar now... % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 100 3550 3550 0889 0 --:--:-- --:--:-- --:--:-- 889 100 14.2M 100 14.2M0 0 2469k 0 0:00:05 0:00:05 --:--:-- 3166k nREPL server started on port 52343 on host 127.0.0.1 - nrepl:// 127.0.0.1:52343 REPL-y 0.3.2, nREPL 0.2.0-beta5Exception in thread nREPL-worker-0 NoSuchMethodError clojure.tools.nrepl.StdOutBuffer.length()I clojure.tools.nrepl.middleware.session/session-out/fn--7630 (session.clj:43)NoSuchMethodError clojure.tools.nrepl.StdOutBuffer.length()I clojure.tools.nrepl.middleware.session/session-out/fn--7630 (session.clj:43)java.lang.NoSuchMethodError: clojure.tools.nrepl.StdOutBuffer.length()I at clojure.tools.nrepl.middleware.session$session_out$fn__7630.doInvoke(session.clj:43) at clojure.lang.RestFn.invoke(RestFn.java:460) at clojure.tools.nrepl.middleware.session.proxy$java.io.Writer$ff19274a.write(Unknown Source) at java.io.PrintWriter.write(PrintWriter.java:456) at java.io.PrintWriter.write(PrintWriter.java:473) at clojure.core$fn__5471.invoke(core_print.clj:191) at clojure.lang.MultiFn.invoke(MultiFn.java:231) at clojure.core$pr_on.invoke(core.clj:3392) at clojure.core$pr.invoke(core.clj:3404) at clojure.lang.AFn.applyToHelper(AFn.java:154) at clojure.lang.RestFn.applyTo(RestFn.java:132) at clojure.core$apply.invoke(core.clj:624) at clojure.core$prn.doInvoke(core.clj:3437) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invoke(core.clj:624) at clojure.core$println.doInvoke(core.clj:3457) at clojure.lang.RestFn.invoke(RestFn.java:408) at clojure.main$repl_caught.invoke(main.clj:158) at clojure.tools.nrepl.middleware.interruptible_eval$evaluate$fn__7569$fn__7582.invoke(interruptible_eval.clj:76) at clojure.main$repl$fn__6634.invoke(main.clj:259) at clojure.main$repl.doInvoke(main.clj:257) at clojure.lang.RestFn.invoke(RestFn.java:1096) at clojure.tools.nrepl.middleware.interruptible_eval$evaluate$fn__7569.invoke(interruptible_eval.clj:56) at clojure.lang.AFn.applyToHelper(AFn.java:152) at clojure.lang.AFn.applyTo(AFn.java:144) at clojure.core$apply.invoke(core.clj:624) at clojure.core$with_bindings_STAR_.doInvoke(core.clj:1862) at clojure.lang.RestFn.invoke(RestFn.java:425) at clojure.tools.nrepl.middleware.interruptible_eval$evaluate.invoke(interruptible_eval.clj:41) at clojure.tools.nrepl.middleware.interruptible_eval$interruptible_eval$fn__7610$fn__7613.invoke(interruptible_eval.clj:171) at clojure.core$comp$fn__4192.invoke(core.clj:2402) at clojure.tools.nrepl.middleware.interruptible_eval$run_next$fn__7603.invoke(interruptible_eval.clj:138) at clojure.lang.AFn.run(AFn.java:22) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) #Namespace user Error loading namespace; falling back to userException in thread nREPL-worker-2 java.lang.NoSuchMethodError: clojure.tools.nrepl.StdOutBuffer.length()I at clojure.tools.nrepl.middleware.session$session_out$fn__7630.doInvoke(session.clj:43) at clojure.lang.RestFn.invoke(RestFn.java:460) at clojure.tools.nrepl.middleware.session.proxy$java.io.Writer$ff19274a.write(Unknown Source) at java.io.PrintWriter.write(PrintWriter.java:456) at java.io.PrintWriter.write(PrintWriter.java:473) at clojure.core$fn__5471.invoke(core_print.clj:191) at clojure.lang.MultiFn.invoke(MultiFn.java:231) at clojure.core$pr_on.invoke(core.clj:3392) at clojure.core$pr.invoke(core.clj:3404) at clojure.lang.AFn.applyToHelper(AFn.java:154) at clojure.lang.RestFn.applyTo(RestFn.java:132) at clojure.core$apply.invoke(core.clj:624) at clojure.core$prn.doInvoke(core.clj:3437) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invoke(core.clj:624) at clojure.core$println.doInvoke(core.clj:3457) at clojure.lang.RestFn.invoke(RestFn.java:408) at clojure.main$repl_caught.invoke(main.clj:158) at clojure.tools.nrepl.middleware.interruptible_eval$evaluate$fn__7569$fn__7582.invoke(interruptible_eval.clj:76) at clojure.main$repl$fn__6634.invoke(main.clj:259) at clojure.main$repl.doInvoke(main.clj:257) at clojure.lang.RestFn.invoke(RestFn.java:1096) at clojure.tools.nrepl.middleware.interruptible_eval$evaluate$fn__7569.invoke(interruptible_eval.clj:56) at clojure.lang.AFn.applyToHelper(AFn.java:152) at clojure.lang.AFn.applyTo(AFn.java:144) at clojure.core$apply.invoke(core.clj:624) at
Re: Error when starting REPL
Thx Niels, that works! 2014-03-29 0:46 GMT+01:00 Niels van Klaveren niels.vanklave...@gmail.com: Its a problem with writing to a temp folder. Run Ccw as admin, or take a look at the counterclockwise group for a solution that doesn't need that. -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Error when starting REPL
Hi, I freshly installed the stand-alone Counterclockwise in Windows 8.1. When I execute: Load file in REPL I get this error: java.io.IOException: Access denied at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(Unknown Source) at java.io.File.createTempFile(Unknown Source) at java.io.File.createTempFile(Unknown Source) at leiningen.javac$javac_options.invoke(javac.clj:66) at leiningen.javac$run_javac_subprocess.invoke(javac.clj:115) at leiningen.javac$javac.doInvoke(javac.clj:139) at clojure.lang.RestFn.invoke(RestFn.java:410) at clojure.lang.Var.invoke(Var.java:415) at clojure.lang.AFn.applyToHelper(AFn.java:161) at clojure.lang.Var.applyTo(Var.java:532) at clojure.core$apply.invoke(core.clj:619) at leiningen.core.main$resolve_task$fn__3029.doInvoke(main.clj:189) at clojure.lang.RestFn.invoke(RestFn.java:410) at clojure.lang.AFn.applyToHelper(AFn.java:161) at clojure.lang.RestFn.applyTo(RestFn.java:132) at clojure.lang.AFunction$1.doInvoke(AFunction.java:29) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invoke(core.clj:619) at leiningen.core.main$apply_task.invoke(main.clj:230) at leiningen.core.eval$run_prep_tasks.invoke(eval.clj:43) at leiningen.core.eval$prep.invoke(eval.clj:57) at leiningen.core.eval$eval_in_project.invoke(eval.clj:323) at clojure.lang.AFn.applyToHelper(AFn.java:167) at clojure.lang.AFn.applyTo(AFn.java:151) at clojure.core$apply.invoke(core.clj:619) at leiningen.repl$repl.doInvoke(repl.clj:263) at clojure.lang.RestFn.invoke(RestFn.java:425) at clojure.lang.Var.invoke(Var.java:419) at clojure.lang.AFn.applyToHelper(AFn.java:163) at clojure.lang.Var.applyTo(Var.java:532) at clojure.core$apply.invoke(core.clj:619) at leiningen.core.main$resolve_task$fn__3029.doInvoke(main.clj:189) at clojure.lang.RestFn.applyTo(RestFn.java:139) at clojure.lang.AFunction$1.doInvoke(AFunction.java:29) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invoke(core.clj:619) at leiningen.core.main$apply_task.invoke(main.clj:230) at leiningen.core.main$resolve_and_apply.invoke(main.clj:234) at leiningen.update_in$update_in.doInvoke(update_in.clj:34) at clojure.lang.RestFn.invoke(RestFn.java:573) at clojure.lang.Var.invoke(Var.java:440) at clojure.lang.AFn.applyToHelper(AFn.java:193) at clojure.lang.Var.applyTo(Var.java:532) at clojure.core$apply.invoke(core.clj:619) at leiningen.core.main$resolve_task$fn__3029.doInvoke(main.clj:189) at clojure.lang.RestFn.applyTo(RestFn.java:139) at clojure.lang.AFunction$1.doInvoke(AFunction.java:29) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invoke(core.clj:619) at leiningen.core.main$apply_task.invoke(main.clj:230) at leiningen.core.main$resolve_and_apply.invoke(main.clj:234) at leiningen.update_in$update_in.doInvoke(update_in.clj:34) at clojure.lang.RestFn.invoke(RestFn.java:1138) at clojure.lang.Var.invoke(Var.java:465) at clojure.lang.AFn.applyToHelper(AFn.java:248) at clojure.lang.Var.applyTo(Var.java:532) at clojure.core$apply.invoke(core.clj:619) at leiningen.core.main$resolve_task$fn__3029.doInvoke(main.clj:189) at clojure.lang.RestFn.applyTo(RestFn.java:139) at clojure.lang.AFunction$1.doInvoke(AFunction.java:29) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invoke(core.clj:619) at leiningen.core.main$apply_task.invoke(main.clj:230) at leiningen.core.main$resolve_and_apply.invoke(main.clj:234) at leiningen.update_in$update_in.doInvoke(update_in.clj:34) at clojure.lang.RestFn.invoke(RestFn.java:2482) at clojure.lang.Var.invoke(Var.java:496) at clojure.lang.AFn.applyToHelper(AFn.java:328) at clojure.lang.Var.applyTo(Var.java:532) at clojure.core$apply.invoke(core.clj:619) at leiningen.core.main$resolve_task$fn__3029.doInvoke(main.clj:189) at clojure.lang.RestFn.applyTo(RestFn.java:139) at clojure.lang.AFunction$1.doInvoke(AFunction.java:29) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invoke(core.clj:619) at leiningen.core.main$apply_task.invoke(main.clj:230) at leiningen.core.main$resolve_and_apply.invoke(main.clj:234) at leiningen.core.main$_main$fn__3092.invoke(main.clj:303) at leiningen.core.main$_main.doInvoke(main.clj:290) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invoke(core.clj:617) at ccw.leiningen.main$_main.doInvoke(main.clj:47) at clojure.lang.RestFn.invoke(RestFn.java:2422) at clojure.lang.Var.invoke(Var.java:496) at clojure.lang.AFn.applyToHelper(AFn.java:328) at clojure.lang.Var.applyTo(Var.java:532) at clojure.core$apply.invoke(core.clj:617) at clojure.main$main_opt.invoke(main.clj:335) at
Re: Are there any GUI based Clojure apps out there?
Seesaw? https://github.com/daveray/seesaw 2013/10/17 Jonathon McKitrick jmckitr...@gmail.com I'd be interested in seeing some client-side apps with a GUI, if there are any. 'Ants' is a good demo, but I'm looking for something a little more. ;-) -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [ANN] Nightcode, an IDE for Clojure and Java
Zach, sorry for my late reply. It seems that 0.0.4 indeed solves the problem with run repl! Thx very much, Arie 2013/8/6 Marcus Blankenship mar...@creoagency.com Hey Zach, First, this is awesome. Really. Awesome. ;-) Second, you should put an email sign-up on this page, so folks can be notified when you update it, or when you have other cool things to say. Anyone that builds this kind of product probably has other cool things to say, and I would want to hear them. Just my $0.02. Marcus On Aug 5, 2013, at 8:42 PM, Zach Oakes zsoa...@gmail.com wrote: I just pushed 0.0.4 to the website. I received reports that it fixes the nightcode.lein error, but please let me know if anyone experiences otherwise. On Friday, August 2, 2013 9:03:03 AM UTC-4, Zach Oakes wrote: I’ve been working on a simple IDE for the past few months. It started as an attempt to add Leiningen integration to Clooj, but eventually I decided to start a new project from scratch. It is very alpha-quality, so please be gentle: http://nightcode.info/ Here’s what it has: -Written in Clojure (the UI is written with seesaw) -Built-in copy of Leiningen to build Clojure and pure-Java projects -Built-in templates for several common types of Clojure and Java projects -Always-on REPL in the corner to try Clojure commands -Android integration (includes the lein-droid plugin, LogCat output, etc) -ClojureScript integration (includes the lein-cljsbuild plugin) -Cool looking dark theme, because that’s trendy these days Here’s what it’s missing: -Fast build times (it launches Leiningen in a separate process, which is slw...I plan on fixing this and would love any help) -Important editing features (code completion, text replace, etc) -Quick switching between recent files -Jump to definition, built-in documentation -Integration between editor and REPL (eval form or entire file) -Integration with git -Many other things -- please give me your thoughts! -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. MARCUS BLANKENSHIP \\\ Owner, Problem Solver, Thinker \\\ 541.805.2736 \ @justzeros \ skype:marcuscreo -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [ANN] Nightcode, an IDE for Clojure and Java
Hi Zach, 0.0.1 worked OK. 0.0.3 gives this error when Run with REPL: Error: Could not find or load main class nightcode.lein TIA, Arie 2013/8/3 Zach Oakes zsoa...@gmail.com Thanks for the complements! I just released 0.0.2, which should make Run/Build faster and more reliable. It also fixes shortcuts on OS X so they use command instead of control. On Saturday, August 3, 2013 8:07:31 AM UTC-4, Manuel Paccagnella wrote: Wow, it looks very promising. I'd also like add a +1 for smart indent and paredit. Kudos to you Zach! Manuel Il giorno venerdì 2 agosto 2013 15:03:03 UTC+2, Zach Oakes ha scritto: I’ve been working on a simple IDE for the past few months. It started as an attempt to add Leiningen integration to Clooj, but eventually I decided to start a new project from scratch. It is very alpha-quality, so please be gentle: http://nightcode.info/ Here’s what it has: -Written in Clojure (the UI is written with seesaw) -Built-in copy of Leiningen to build Clojure and pure-Java projects -Built-in templates for several common types of Clojure and Java projects -Always-on REPL in the corner to try Clojure commands -Android integration (includes the lein-droid plugin, LogCat output, etc) -ClojureScript integration (includes the lein-cljsbuild plugin) -Cool looking dark theme, because that’s trendy these days Here’s what it’s missing: -Fast build times (it launches Leiningen in a separate process, which is slw...I plan on fixing this and would love any help) -Important editing features (code completion, text replace, etc) -Quick switching between recent files -Jump to definition, built-in documentation -Integration between editor and REPL (eval form or entire file) -Integration with git -Many other things -- please give me your thoughts! -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [ANN] Nightcode, an IDE for Clojure and Java
What a fantastic initiative! It already looks great and promises a lot. I love the leight weight approach, still having lots of features. Keep up the good work! 2013/8/2 Alexander Yakushev unlo...@bytopia.org This initial version looks very mature already! I wonder what will become of it by the time of the release. Great job, Zach! Eagerly waiting to see Nightcode's future. On Friday, August 2, 2013 4:03:03 PM UTC+3, Zach Oakes wrote: I’ve been working on a simple IDE for the past few months. It started as an attempt to add Leiningen integration to Clooj, but eventually I decided to start a new project from scratch. It is very alpha-quality, so please be gentle: http://nightcode.info/ Here’s what it has: -Written in Clojure (the UI is written with seesaw) -Built-in copy of Leiningen to build Clojure and pure-Java projects -Built-in templates for several common types of Clojure and Java projects -Always-on REPL in the corner to try Clojure commands -Android integration (includes the lein-droid plugin, LogCat output, etc) -ClojureScript integration (includes the lein-cljsbuild plugin) -Cool looking dark theme, because that’s trendy these days Here’s what it’s missing: -Fast build times (it launches Leiningen in a separate process, which is slw...I plan on fixing this and would love any help) -Important editing features (code completion, text replace, etc) -Quick switching between recent files -Jump to definition, built-in documentation -Integration between editor and REPL (eval form or entire file) -Integration with git -Many other things -- please give me your thoughts! -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: What is the meaning of :while in a for ?
Extra restrictions on (range of values of) variables used in the for. See here: http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/for 2012/8/21 nicolas.o...@gmail.com nicolas.o...@gmail.com Dear all, What is the meaning of :while in a for? I understand :when, and also that :while jumps more element when the condition is not met, but where does it jump to exactly? Best regards, Nicolas. -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 -- 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 Note that posts from new members are moderated - please be patient with your first post. 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
Re: Problem with Leiningen 1.6.1 in Windoes
Hi Matjaz, that is what i did in the first place; however, i deleted the 1.6.1 jar (which was present), downloaded the new lein.bat 2.0.0, changed that tot 1.6.1. and now get this: D:\src\Clojure\test2lein self-install Downloading Leiningen now... % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 0 00 00 0 0 0 --:--:-- 0:00:01 --:--:-- 0 curl: (22) The requested URL returned error: 404 Failed to download https://github.com/downloads/technomancy/leiningen/leiningen- 1.6.1-SNAPSHOT-standalone.jar See README.md for SNAPSHOT build instructions. Thx so far, Arie 2011/7/21 Matjaz Gregoric gre...@gmail.com Could you try using the master version of lein.bat? There have been a couple of patches applied since 1.6.1 that might help with your issue. You can get the latest version here: https://raw.github.com/technomancy/leiningen/master/bin/lein.bat Make sure to change the version number to 1.6.1 before running it. Replace: set LEIN_VERSION=2.0.0-SNAPSHOT with set LEIN_VERSION=1.6.1 Let us know how it went, Matjaz On Wed, Jul 20, 2011 at 2:02 PM, Arie van Wingerden xapw...@gmail.comwrote: Hi, the self-install worked ok, and I checked that the jar is present in: C:\Documents and Settings\Administrator\.lein\self-installs\leiningen-1.6.1-standalone.jar But the lein deps for a project gets stuck: D:\src\Clojure\test2lein deps Exception in thread main java.lang.NoClassDefFoundError: Files\Java\jre6\lib\e xt\QTJava/zip;;;test;src;C:\Documents and Settings\Administrator\/lein\self-ins talls\leiningen-1/6/1-standalone/jar Caused by: java.lang.ClassNotFoundException: Files\Java\jre6\lib\ext\QTJava.zip; ;;test;src;C:\Documents and Settings\Administrator\.lein\self-installs\leininge n-1.6.1-standalone.jar at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) Could not find the main class: Files\Java\jre6\lib\ext\QTJava.zip;;;test;src;C: \Documents and Settings\Administrator\.lein\self-installs\leiningen-1.6.1-standa lone.jar. Program will exit. It seems the classpath is not being constructed correctly; instead of dots there are slashes and also a mix of back- and forward slashes. Before the invocation of lein the classpath is: CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip Any ideas what is (or what I am doing) wrong? Thx, Arie -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 -- 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 Note that posts from new members are moderated - please be patient with your first post. 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
Re: Problem with Leiningen 1.6.1 in Windoes
Ah indeed that was the problem. Thx, Arie 2011/7/21 Matjaz Gregoric gre...@gmail.com It seems like the version in lein.bat is set to 1.6.1-SNAPSHOT instead of just 1.6.1. The line in the lein.bat file should say set LEIN_VERSION=1.6.1 instead of set LEIN_VERSION=1.6.1-SNAPSHOT Matjaz On Thu, Jul 21, 2011 at 4:49 PM, Arie van Wingerden xapw...@gmail.comwrote: Hi Matjaz, that is what i did in the first place; however, i deleted the 1.6.1 jar (which was present), downloaded the new lein.bat 2.0.0, changed that tot 1.6.1. and now get this: D:\src\Clojure\test2lein self-install Downloading Leiningen now... % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 0 00 00 0 0 0 --:--:-- 0:00:01 --:--:-- 0 curl: (22) The requested URL returned error: 404 Failed to download https://github.com/downloads/technomancy/leiningen/leiningen- 1.6.1-SNAPSHOT-standalone.jar See README.md for SNAPSHOT build instructions. Thx so far, Arie 2011/7/21 Matjaz Gregoric gre...@gmail.com Could you try using the master version of lein.bat? There have been a couple of patches applied since 1.6.1 that might help with your issue. You can get the latest version here: https://raw.github.com/technomancy/leiningen/master/bin/lein.bat Make sure to change the version number to 1.6.1 before running it. Replace: set LEIN_VERSION=2.0.0-SNAPSHOT with set LEIN_VERSION=1.6.1 Let us know how it went, Matjaz On Wed, Jul 20, 2011 at 2:02 PM, Arie van Wingerden xapw...@gmail.comwrote: Hi, the self-install worked ok, and I checked that the jar is present in: C:\Documents and Settings\Administrator\.lein\self-installs\leiningen-1.6.1-standalone.jar But the lein deps for a project gets stuck: D:\src\Clojure\test2lein deps Exception in thread main java.lang.NoClassDefFoundError: Files\Java\jre6\lib\e xt\QTJava/zip;;;test;src;C:\Documents and Settings\Administrator\/lein\self-ins talls\leiningen-1/6/1-standalone/jar Caused by: java.lang.ClassNotFoundException: Files\Java\jre6\lib\ext\QTJava.zip; ;;test;src;C:\Documents and Settings\Administrator\.lein\self-installs\leininge n-1.6.1-standalone.jar at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) Could not find the main class: Files\Java\jre6\lib\ext\QTJava.zip;;;test;src;C: \Documents and Settings\Administrator\.lein\self-installs\leiningen-1.6.1-standa lone.jar. Program will exit. It seems the classpath is not being constructed correctly; instead of dots there are slashes and also a mix of back- and forward slashes. Before the invocation of lein the classpath is: CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip Any ideas what is (or what I am doing) wrong? Thx, Arie -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 -- You received this message because you are subscribed to the Google Groups Clojure group. To post
Problem with Leiningen 1.6.1 in Windoes
Hi, the self-install worked ok, and I checked that the jar is present in: C:\Documents and Settings\Administrator\.lein\self-installs\leiningen-1.6.1-standalone.jar But the lein deps for a project gets stuck: D:\src\Clojure\test2lein deps Exception in thread main java.lang.NoClassDefFoundError: Files\Java\jre6\lib\e xt\QTJava/zip;;;test;src;C:\Documents and Settings\Administrator\/lein\self-ins talls\leiningen-1/6/1-standalone/jar Caused by: java.lang.ClassNotFoundException: Files\Java\jre6\lib\ext\QTJava.zip; ;;test;src;C:\Documents and Settings\Administrator\.lein\self-installs\leininge n-1.6.1-standalone.jar at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) Could not find the main class: Files\Java\jre6\lib\ext\QTJava.zip;;;test;src;C: \Documents and Settings\Administrator\.lein\self-installs\leiningen-1.6.1-standa lone.jar. Program will exit. It seems the classpath is not being constructed correctly; instead of dots there are slashes and also a mix of back- and forward slashes. Before the invocation of lein the classpath is: CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip Any ideas what is (or what I am doing) wrong? Thx, Arie -- 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 Note that posts from new members are moderated - please be patient with your first post. 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
The human brain works the Lisp way!
Hi, on this page http://singularityhub.com/2010/12/21/ray-kurzweil-the-mind-and-how-to-build-one-video/ you can find a video in which Ray Kurzweil speaks about the reverse engineering of the human brain. At 39:25 Ray states that ... the cerebral cortex is a Lisp processor. and explains that later. Maybe it is off topic, but I think it may be very interesting to a lot of you. Kind regards, Arie -- 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 Note that posts from new members are moderated - please be patient with your first post. 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
Exporting FatJar from Eclipse CCW does not work
Hi, when trying to use FatJar from Eclipse / CCW I manage to get the fatjar to be generated; however, when I run the jar I get: D:\src\Clojure\Firstjava -jar First_fat.jar Exception in thread main java.lang.UnsupportedOperationException: First.core/- main not defined at First.core.main(Unknown Source) My source code: (ns First.core (:gen-class)) (defn- main [] (println Hello World!)) I *did* compile the source and checked that the appropriate classes were present. During FatJar generation I specified First.core as the Main class. Any ideas? Regards Arie -- 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 Note that posts from new members are moderated - please be patient with your first post. 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
Re: Exporting FatJar from Eclipse CCW does not work
Hi Gijs, it wasn't a typo, but lack of knowledge :-) Indeed this is the solution. Thanks for your help! Regards, Arie 2010/11/27 Gijs S. gijsstuur...@gmail.com Hi, Perhaps it is a typo but you should have (defn -main [] ...) rather than (defn- main [] ...) Note the place of the dash -. defn- yields a non public var (a private declaration) (http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/ defn-) -main uses the dash, which is the default :prefix - for method lookup in a class (http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/ gen-class) Cheers, Gijs -- 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 Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.comclojure%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -- 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 Note that posts from new members are moderated - please be patient with your first post. 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
Re: Compilation fails in Clojure Box 1.2.0
Hi Shawn. This kind of thing always bothers me. It makes me a bit unsure wether the installation was done correctly; hence the question. But I'll regard that menu entry as not existent then anyway from now on. Thanks! Arie 2010/8/23 Shawn Hoover shawn.hoo...@gmail.com It's because slime-compile-file (C-c M-k) doesn't do anything unless the optional load parameter is true, and when you run the function from the keyboard shortcut, it doesn't get set. C-c C-k ends up calling that function with load=true. The distinction between to the two is false in Clojure anyway, because compiling also loads, so keep using C-c C-k and you should be fine. I think compile without load shouldn't even appear in the menu when connected to Clojure, but I don't know where the right place would be to fix that. Shawn On Sat, Aug 21, 2010 at 10:56 AM, Arie van Wingerden xapw...@gmail.comwrote: Hi, when i compile the following little snippet (which i explicitly have saved before compiling) with C-c C-k (Compile/Load file) it always succeeds; however, when I use C-c M-k (Compile File) compilation always fails (i am sure i did save the file before compiling it). snip (ns nsp.tst (:refer-clojure) (:gen-class)) (defn dubbel [x] (* 2 x)) (defn -main [] (println (dubbel 20))) /snip Any ideas? Regards, Arie -- 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 Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.comclojure%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -- 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 Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.comclojure%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -- 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 Note that posts from new members are moderated - please be patient with your first post. 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
Leiningen documentation error
On this leiningen doc webpage http://github.com/technomancy/leiningen/blob/master/sample.project.clj there is an entry: :main [org.example.sample] but this should be: :main org.example.sample hth -- 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 Note that posts from new members are moderated - please be patient with your first post. 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
Compilation fails in Clojure Box 1.2.0
Hi, when i compile the following little snippet (which i explicitly have saved before compiling) with C-c C-k (Compile/Load file) it always succeeds; however, when I use C-c M-k (Compile File) compilation always fails (i am sure i did save the file before compiling it). snip (ns nsp.tst (:refer-clojure) (:gen-class)) (defn dubbel [x] (* 2 x)) (defn -main [] (println (dubbel 20))) /snip Any ideas? Regards, Arie -- 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 Note that posts from new members are moderated - please be patient with your first post. 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
Re: Small problem in CCW IDE
Thanks ka! 2010/7/26 ka sancha...@gmail.com So, it appears the (read-line) consumes the Clojure form (in-ns 'test.readln) probably stacked by CCW (at least I didn't type that!) Yup you're right, CCW typed that, you may disable that feature from the Windows Preferences Clojure Editor. Thanks -- 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 Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.comclojure%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -- 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 Note that posts from new members are moderated - please be patient with your first post. 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
Small problem in CCW IDE
Hi, when I Run as Clojure Repl the next little source file: (ns test.readln) (defn -main [] (println Enter some text for the first time:) (println (read-line)) (println Enter some text for the second time:) (println (read-line))) (-main) I get the following output: Clojure 1.2.0-master-SNAPSHOT Enter some text for the first time: (in-ns 'test.readln) Enter some text for the second time: So, it appears the (read-line) consumes the Clojure form (in-ns 'test.readln) probably stacked by CCW (at least I didn't type that!) Any ideas? Arie -- 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 Note that posts from new members are moderated - please be patient with your first post. 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
Online Clojure for beginners course starting july 19th
Hi, at Rubylearning.org a course on Clojure will be taught soon. See the details here ... http://rubylearning.com/blog/2010/07/04/new-course-clojure-for-beginners/ The course starts july 19th and lasts for a week. Kind regards, Arie -- 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 Note that posts from new members are moderated - please be patient with your first post. 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
Counterclockwise problem when compiling
Hi, i am playing with Clojure in the latest version of the Counterclockwise IDE and encounter a problem when compiling: 1) i right-click on source vappend.clj and choose run as Clojure Repl 2) then i click ctrl-alt-k to compile Then i get the following in the Repl: = Clojure 1.1.0-alpha-SNAPSHOT 1:1 user= #Namespace arie.vappend 1:2 arie.vappend= Code sent for evaluation: (clojure.core/binding [clojure.core/*compile-path* classes] (clojure.core/compile 'arie.vappend)) java.io.FileNotFoundException: Could not locate arie/vappend__init.class or arie/vappend.clj on classpath: (repl-1:2) 1:3 arie.vappend= = My source file vappend.clj : = (ns arie.vappend (:require [clojure.contrib.math]) (:refer-clojure) (:gen-class)) (defn vappend [x y] (cond (empty? x) y true (cons (first x) (vappend (rest x) y (defn -main [] (println (vappend '(1 2 3 4) '(11 12 13 14))) (println (str (expt 2 3) - (clojure.contrib.math/expt 2 3))) (println (str (abs -4) - (clojure.contrib.math/abs -4 = My directory structure is a follows: = D:\src\clojure\dev\vappend\.classpath D:\src\clojure\dev\vappend\.project D:\src\clojure\dev\vappend\bin D:\src\clojure\dev\vappend\bin\vappend.clj D:\src\clojure\dev\vappend\classes D:\src\clojure\dev\vappend\classes\arie D:\src\clojure\dev\vappend\classes\vappend__init.class D:\src\clojure\dev\vappend\classes\arie\vappend$loading__5744__auto136.class D:\src\clojure\dev\vappend\classes\arie\vappend$vappend__138.class D:\src\clojure\dev\vappend\classes\arie\vappend$_main__141.class D:\src\clojure\dev\vappend\classes\arie\vappend.class D:\src\clojure\dev\vappend\clojure-contrib-src.jar D:\src\clojure\dev\vappend\clojure-contrib.jar D:\src\clojure\dev\vappend\clojure-src.jar D:\src\clojure\dev\vappend\clojure.jar D:\src\clojure\dev\vappend\src D:\src\clojure\dev\vappend\src\vappend.clj = Any ideas what i am doing wrong? TIA, Arie -- 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 Note that posts from new members are moderated - please be patient with your first post. 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
Re: Counterclockwise problem when compiling
Hi Laurent, that was indeed the problem. Thx! 2010/1/4 Laurent PETIT laurent.pe...@gmail.com Hi, This is a problem with the way you have created your files in your project: your namespace is arie.vappend So your file should be named vappend.clj, and be placed in yourProject/src/arie/ directory ( and not yourProject/src/ ) HTH, -- Laurent 2010/1/4 Arie van Wingerden xapw...@gmail.com: Hi, i am playing with Clojure in the latest version of the Counterclockwise IDE and encounter a problem when compiling: 1) i right-click on source vappend.clj and choose run as Clojure Repl 2) then i click ctrl-alt-k to compile Then i get the following in the Repl: = Clojure 1.1.0-alpha-SNAPSHOT 1:1 user= #Namespace arie.vappend 1:2 arie.vappend= Code sent for evaluation: (clojure.core/binding [clojure.core/*compile-path* classes] (clojure.core/compile 'arie.vappend)) java.io.FileNotFoundException: Could not locate arie/vappend__init.class or arie/vappend.clj on classpath: (repl-1:2) 1:3 arie.vappend= = My source file vappend.clj : = (ns arie.vappend (:require [clojure.contrib.math]) (:refer-clojure) (:gen-class)) (defn vappend [x y] (cond (empty? x) y true (cons (first x) (vappend (rest x) y (defn -main [] (println (vappend '(1 2 3 4) '(11 12 13 14))) (println (str (expt 2 3) - (clojure.contrib.math/expt 2 3))) (println (str (abs -4) - (clojure.contrib.math/abs -4 = My directory structure is a follows: = D:\src\clojure\dev\vappend\.classpath D:\src\clojure\dev\vappend\.project D:\src\clojure\dev\vappend\bin D:\src\clojure\dev\vappend\bin\vappend.clj D:\src\clojure\dev\vappend\classes D:\src\clojure\dev\vappend\classes\arie D:\src\clojure\dev\vappend\classes\vappend__init.class D:\src\clojure\dev\vappend\classes\arie\vappend$loading__5744__auto136.class D:\src\clojure\dev\vappend\classes\arie\vappend$vappend__138.class D:\src\clojure\dev\vappend\classes\arie\vappend$_main__141.class D:\src\clojure\dev\vappend\classes\arie\vappend.class D:\src\clojure\dev\vappend\clojure-contrib-src.jar D:\src\clojure\dev\vappend\clojure-contrib.jar D:\src\clojure\dev\vappend\clojure-src.jar D:\src\clojure\dev\vappend\clojure.jar D:\src\clojure\dev\vappend\src D:\src\clojure\dev\vappend\src\vappend.clj = Any ideas what i am doing wrong? TIA, Arie -- 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 Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.comclojure%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -- 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 Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.comclojure%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -- 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 Note that posts from new members are moderated - please be patient with your first post. 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
Re: Is running a script without leaving Clojure?
Thanks! 2009/10/31 Chouser chou...@gmail.com On Fri, Oct 30, 2009 at 4:44 PM, Chick Corea chick.zco...@gmail.com wrote: Where are those and other CLI options documented? I have not found them. A usage or help message could help w/ this, too. java -cp clojure.jar clojure.main --help --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 Note that posts from new members are moderated - please be patient with your first post. 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 -~--~~~~--~~--~--~---
Is running a script without leaving Clojure?
Hi, when I run a Clojure script Clojure ends directly when the script is finished. I would like an option to keep the Clojure REPL open when the script has finished. Is this possible somehow? Currently I use something like this (in WinXP): set jar1=C:\Clojure\clojure.jar set jar2=C:\Clojure\clojure-contrib.jar set jar3=D:\data\src\Clojure\Book-ProgrammingClojure java -cp %jar1%;%jar2%;%jar3% clojure.main %1 %2 %3 %4 %5 %6 %7 %8 %9 Hope anybody can help :-) TIA, Arie --~--~-~--~~~---~--~~ 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 Note that posts from new members are moderated - please be patient with your first post. 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 -~--~~~~--~~--~--~---
Re: ClojureBox not working
Put the path to the Java JDK bin directory in the Windows environment variable named PATH: e.g. C:\Program Files\Java\jdk1.6.0_15\bin Create a Windows environment variable named JAVA_HOME containing the path to the Java JDK: e.g. C:\Program Files\Java\jdk1.6.0_15 HTH, Arie 2009/10/17 vishy vishalsod...@gmail.com Hi, After I start ClojureBox, REPL does not load.What could be the problem.I am on a WindowsXP machine thanks --~--~-~--~~~---~--~~ 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 Note that posts from new members are moderated - please be patient with your first post. 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 -~--~~~~--~~--~--~---
Re: Newbie with problems building clojure-contrib
Hi, I think I know what is going on. You are using the Clojure 1.0, but you should use the latest Clojure, because there are depoendencies. This is what you need to do: 1. remove Clojure 1.0 2. get latest Clojure with git 3. get latest Clojure-Contrib with git 4. build Clojure using Ant 5. build clojure-contrib using ant with the option -Dclojure.jar=../clojure/clojure.jar (this is correct when both clojure and clojure-contrib are child directories of the same parent; otherwise specify your clojure.jar location) That should fix your problem! Regards Arie 2009/8/13 Barry Perryman barry.perry...@gmail.com I'm new to clojure and I haven't touched the java platform for longer than I can remember, and I'm having a little difficulty building clojure-contrib. I've made a software/clojure folder, and installed clojure 1.0 release. Under that folder I have made a clojure-contrib folder, and got the latest code off github, and put it there. When I try and build I get an error about walk.clj/walk__init.class not being in the class path. I've pasted what my mac system reports at the end, does anybody know what I'm doing wrong? Thanks Barry $ java -version java version 1.5.0_19 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19- b02-304) Java HotSpot(TM) Client VM (build 1.5.0_19-137, mixed mode, sharing) $ ant -version Apache Ant version 1.7.0 compiled on May 21 2009 $ ant Buildfile: build.xml init: check_hasclojure: [echo] WARNING: You have not defined a path to clojure.jar so I can't compile files. [echo] This will cause some parts of clojure.contrib not to work (e.g., pretty print). [echo] To enable compiling, run ant -Dclojure.jar=...path to clojure.jar.. [echo] compile_clojure: jar: BUILD SUCCESSFUL Total time: 0 seconds $ ant -Dclojure.jar=../clojure-1.0.0.jar Buildfile: build.xml init: check_hasclojure: compile_clojure: [java] Compiling clojure.contrib.accumulators to /Users/barry/ software/clojure/clojure-contrib/classes [java] Compiling clojure.contrib.agent-utils to /Users/barry/ software/clojure/clojure-contrib/classes [java] Compiling clojure.contrib.classpath to /Users/barry/ software/clojure/clojure-contrib/classes [java] Compiling clojure.contrib.combinatorics to /Users/barry/ software/clojure/clojure-contrib/classes [java] Compiling clojure.contrib.command-line to /Users/barry/ software/clojure/clojure-contrib/classes [java] Compiling clojure.contrib.complex-numbers to /Users/barry/ software/clojure/clojure-contrib/classes [java] Compiling clojure.contrib.cond to /Users/barry/software/ clojure/clojure-contrib/classes [java] Compiling clojure.contrib.condition to /Users/barry/ software/clojure/clojure-contrib/classes [java] Compiling clojure.contrib.core to /Users/barry/software/ clojure/clojure-contrib/classes [java] Compiling clojure.contrib.dataflow to /Users/barry/ software/clojure/clojure-contrib/classes [java] java.io.FileNotFoundException: Could not locate clojure/ walk__init.class or clojure/walk.clj on classpath: (dataflow.clj:17) Long stack trace removed... --~--~-~--~~~---~--~~ 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 Note that posts from new members are moderated - please be patient with your first post. 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 -~--~~~~--~~--~--~---
Wrong type?
Hi, when I evaluate: (defn digit? [d] (. Character isDigit d)) (digit? 5) I get false as a result. It appears that the 5 does not match the correct type Java expects, or what? TIA, Arie --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Wrong type?
Ah, thanks Laurent! 2009/5/20 Laurent PETIT laurent.pe...@gmail.com Hi, the following session will probably explain the problem: user= (digit? \5) true user= (ancestors java.lang.Integer) #{java.io.Serializable java.lang.Comparable java.lang.Number java.lang.Object} user= (ancestors java.lang.Character) #{java.io.Serializable java.lang.Comparable java.lang.Object} The literal 5 is probably cast into an int/Integer, not a char/Character. If you want to write char/Character literals, place an antislash at the front of the literal. Regards, -- Laurent 2009/5/20 Arie van Wingerden xapw...@gmail.com: Hi, when I evaluate: (defn digit? [d] (. Character isDigit d)) (digit? 5) I get false as a result. It appears that the 5 does not match the correct type Java expects, or what? TIA, Arie --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Problem using emacs - slime - clojure
Hi, in the first place i should say i am not knowledgeable on emacs / slime / swank ;-) I set up the emacs environment as described here: http://dc.clj.fogus.me/index.php?title=Installing_Clojure_and_Slime_on_Windows Simple evaluation of e.g. (+ 2 3) goes fine. However, when i try to evaluate this piece of swing code (listed here: http://clojure.org/jvm_hosted ) the window is correctly shown, but is not responsive; that is:i cannot even enter a value to be converted or click on convert button. I tried this code in the Clojure console and there it works fine. Any ideas? TIA. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Missing function?
Hi, which means that frest is in fact obsolete and fnext is it's successor? Tia, Arie 2009/3/6 Chouser chou...@gmail.com On Fri, Mar 6, 2009 at 10:42 AM, hotcore xapw...@gmail.com wrote: in the API specs on http://clojure.org/api#toc247 I see the function frest. However, when I build Clojure (Checked out revision 1326 from Googlecode) this function seems to be missing. The website generally documents the latest release, not the latest SVN HEAD (with a few exceptions). You're probably looking for 'fnext': user= (doc fnext) - clojure.core/fnext ([x]) Same as (first (next x)) nil --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 -~--~~~~--~~--~--~---
Test wether something is an atom (as it is known in Scheme)
Hi, I am learning Clojure by working thru Kent Dybvigs book in Scheme and Clojure at the same time. A nice way to discover the differences ;-) I wonder if the next definition is appropriate to test if something ia an atom (as Scheme sees it): (defn atom? [x] (not (coll? x))) Thx, Arie --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Test wether something is an atom (as it is known in Scheme)
Hi Mark, didn't know about that. But I'm glad it appears to be okay then. Arie 2008/12/5 Mark McGranaghan [EMAIL PROTECTED] This is indeed the definition used in the clojure.contrib.pred library: http://github.com/kevinoneill/clojure-contrib/tree/master/src/clojure/contrib/pred.clj#L45 - Mark M. On Fri, Dec 5, 2008 at 8:07 AM, Arie van Wingerden [EMAIL PROTECTED] wrote: Hi, I am learning Clojure by working thru Kent Dybvigs book in Scheme and Clojure at the same time. A nice way to discover the differences ;-) I wonder if the next definition is appropriate to test if something ia an atom (as Scheme sees it): (defn atom? [x] (not (coll? x))) Thx, Arie --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Test wether something is an atom (as it is known in Scheme)
Hi Rich, right. But still I think Meikel has got a valid point that a function would need to be defined for that. I also wondered whether a kind of type? function would be appropriate. So (type? 3) would return integer etc. Arie 2008/12/5 Rich Hickey [EMAIL PROTECTED] On Dec 5, 9:03 am, Stephen C. Gilardi [EMAIL PROTECTED] wrote: On Dec 5, 2008, at 8:50 AM, Mark McGranaghan wrote: This is indeed the definition used in the clojure.contrib.pred library: http://github.com/kevinoneill/clojure-contrib/tree/master/src/clojure. .. That's true. However, with Clojure now having a specific meaning for atom that's different from that of the larger Lisp world, I'm wondering if it would be a good idea to remove atom? from pred.clj. Feedback welcome. atom?/p is not one of strongest or best-named abstractions in older Lisps. Maybe it made sense in a world with only one composite data structure. Good riddance I say. Rich --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Mutual definitions (exercise 2.8.6 in Kent Dybvigs book TSPL)
Hi, I tried to use definitions which call each other, like so: (defn is-odd? [n] (if (= n 0) false (is-even? (- n 1 (defn is-even? [n] (if (= n 0) true (is-odd? (- n 1 but obviously Clojure rejects this, saying: Exception in thread main java.lang.Exception: Unable to resolve symbol: is-even? in this context which refers to is-even? in the definition of is-odd? Since I am very new to Clojure I may have missed a language construct to resolve this issue :-) Thx, Arie --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Mutual definitions (exercise 2.8.6 in Kent Dybvigs book TSPL)
Ah, yes! That's defenitely more elegant. Thx, Arie 2008/12/5 Stuart Sierra [EMAIL PROTECTED] On Dec 5, 11:17 am, Randall R Schulz [EMAIL PROTECTED] wrote: You can (def is-even?) before your (defn is-odd? ...), which will allow it to compile. The recently-added declare is for just this purpose: (declare is-even?) -Stuart Sierra --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---