Aw: dynamically create cmdspec for clojure.contrib.command-line
Hi, Am Sonntag, 26. Juni 2011 17:22:14 UTC+2 schrieb mlimotte: user> (my-with-cl '[[foo "something about foo" nil]]) > ; Evaluation aborted. > Exception: Unsupported binding form: something about foo > Leave out the ' in front of the vector. with-command-line quotes it for you. Adding the quote makes it see (quote [[...]]) instead of [[...]]. Sincerely Meikel -- 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
exloring library
I want to explore clj-json lib . how to do load this library and starting using its function using repl. If i have a project.clj in lein project and i have clj-json as one of dependencies , will this library loaded when i connect thru emacs slime connect . What has to be done so that i can start using this library function when slime repl gets connected to swank thru lein? Thanks in advance Vincent -- 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: Handling java streams..
Yes, bit ashamed that I didn't know that.. Kind of surprised though that not many seem to use it, most clojurists(?) seems to roll their own solution. Thanks. 2011/6/27 Alan Malloy > clojure.java.io? > > On Jun 26, 2:25 pm, Andreas Liljeqvist wrote: > > Are there any libraries out there for making java stream handling nicer? > > > > My current project involves reading images from zipfiles, scaling them > and > > then write them to a new zipfile. > > > > Any code I have seen involve mostly writing java in clojure and setting > up > > buffers and such. > > Certainly I could do that, but it leaves me wondering if Java interop > have > > to be such a pain. > > I would think one could patternize IO ops for most standard uses. > > > > Might just be my less than fresh Java knowledge acting up... > > > > 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 -- 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: exloring library
(newbie reply) 1. adding the clj-json dependency to project.clj doesn't make the methods automatically visible to the REPL or the code 2. we need to do one of the following: 1. (use '[cl-json.core]) , and use code by writing something like (parse-string "blah") 2. (require '(clj-json [core :as json])), and then (json/parse-string "json-string-here") Hope it helps your case. Regards, Debabrata Pani On Mon, Jun 27, 2011 at 3:34 PM, Vincent wrote: > > I want to explore clj-json lib . how to do load this library and starting > using its function > using repl. > > If i have a project.clj in lein project and i have clj-json as one of > dependencies > , will this library loaded when i connect thru emacs slime connect . What > has to be done > so that i can start using this library function when slime repl gets > connected to swank thru lein? > > > Thanks in advance > Vincent > > > > -- > 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: exloring library
If you want to play around with it in a REPL, you need to "require" or "use" the namespace you want, and then you will have access to the functions in that namespace. There is an example of this on the project page (see Synopsis): https://github.com/mmcgrana/clj-json Ambrose On Mon, Jun 27, 2011 at 6:04 PM, Vincent wrote: > > I want to explore clj-json lib . how to do load this library and starting > using its function > using repl. > > If i have a project.clj in lein project and i have clj-json as one of > dependencies > , will this library loaded when i connect thru emacs slime connect . What > has to be done > so that i can start using this library function when slime repl gets > connected to swank thru lein? > > > Thanks in advance > Vincent > > > > -- > 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: [ANN] emacs-clojure-vagrant: a sane development virtual environment
Hi Justin, I just tried out your vagrant script, and it appears to be dying on an unmet dependency: [default] --2011-06-27 06:33:42-- https://github.com/downloads/icylisper/jark/jark-0.3 [default] 207.97.227.239 [default] [default] connected. [default] 404 Not Found [default] 2011-06-27 06:33:44 ERROR 404: Not Found. Any suggestions for working around this? brett On Mon, Jun 27, 2011 at 2:50 PM, Justin Lilly wrote: > I've put together a simple development environment for those looking > for a stable place to work on clojure code. The idea was dual purpose: > a consistent environment for which to try out multiple code bases and > something that is familiar to me when working on a foreign operating > system. > > The included vagrant file will setup an Ubuntu 11.04 virtual machine > with clojure and clojure-contrib 1.2, emacs 24 (with emacs-starter-kit > 2 and all relevant clojure modes), tmux (similar to GNU screen), > Leiningen and Jark. > > Special thanks to Phil Hagelberg for his help getting things setup. > > Please check out the github project hosted by the Seajure user group > at https://github.com/Seajure/emacs-clojure-vagrant . Your forks and > contributions are appreciated. > > Thanks, > -justin > > -- > 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: [ANN] emacs-clojure-vagrant: a sane development virtual environment
Brett Morgan writes: > I just tried out your vagrant script, and it appears to be dying on an > unmet dependency: > > [default] --2011-06-27 06:33:42-- > https://github.com/downloads/icylisper/jark/jark-0.3 > [default] 207.97.227.239 > [default] > [default] connected. > [default] 404 Not Found > [default] 2011-06-27 06:33:44 ERROR 404: Not Found. > > Any suggestions for working around this? I just opened an issue for this last night. For the time being it may be best to just comment out the jark section of the script until it's fixed. https://github.com/icylisper/jark/issues/51 -Phil -- 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: dynamically create cmdspec for clojure.contrib.command-line
Thanks for your tips, Ken and Meikel. Both of them were helpful, and helped me resolve my problem. First I tried: user=> (defmacro my-with-cl [spec] `(with-command-line args "desc" ~spec (prn foo))) This almost works: user=> (macroexpand-1 '(my-with-cl [[foo "something about foo" nil] remaining])) (clojure.contrib.command-line/with-command-line user/args "desc" [[foo "something about foo" nil] remaining] (clojure.core/prn user/foo)) But breaks: user=> (my-with-cl [[foo "something about foo" nil] remaining]) java.lang.Exception: No such var: user/foo (NO_SOURCE_FILE:88) This makes sense, as the backtick quote in my defmacro qualified foo under ns user. But I really need foo to be unqualified, so it refers to the foo defined by with-command-line. This variation worked: (defmacro my-with-cl [spec] `(with-command-line args "desc" ~spec (prn ~'foo))) Open to suggestions if there's a better way to do this. Thanks, Marc On Mon, Jun 27, 2011 at 4:05 AM, Meikel Brandmeyer wrote: > Hi, > > Am Sonntag, 26. Juni 2011 17:22:14 UTC+2 schrieb mlimotte: > > > user> (my-with-cl '[[foo "something about foo" nil]]) >> ; Evaluation aborted. >> Exception: Unsupported binding form: something about foo >> > > Leave out the ' in front of the vector. with-command-line quotes it for > you. Adding the quote makes it see (quote [[...]]) instead of [[...]]. > > Sincerely > Meikel > > > -- > 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: struct sharing same key?
When I repeat : the number 3 [{:3 "father Andrew D" :3 "mother Lisa D"}] I get an error, although I can repeat number 1 with no problem. Why? (struct person {:1 "english person" [{:2 "Andrew D" [{:3 "father Andrew D" :3 "mother Lisa D"}] :2 "Justin M" [{:3 "Elisa M"}]}] :1 "chinese person" [{:2 "Chi chi"}] }) -- 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: What's the best way to test private functions?
On Mon, Jun 27, 2011 at 2:13 AM, Stephen C. Gilardi wrote: > As Rich noted > here: http://groups.google.com/group/clojure/msg/513367afb934d41b , when the > var names a function and it's used in an expression emitted from a > macro, prefer invoking the var: > (#'some-ns/some-private-var some args) > over invoking the function to which it is currently bound: > (@#'some-ns/some-private-var some args) I'm not sure of Rich's rationale for this. With `(do-some-stuff (~@#'some-ns/some-private-fn some ~@args)) you'd have the problem of embedding the function object in the code, but not with `(do-some-stuff (@#'some-ns/some-private-fn some ~@args)) which will just emit (do-some-stuff ((deref (var (some-ns/some-private-fn))) some arg1 arg2 arg3)) or the like. As for moving the cost of the deref to macroexpansion time, I don't think that can be done without embedding the function object, for obvious reasons. -- Protege: What is this seething mass of parentheses?! Master: Your father's Lisp REPL. This is the language of a true hacker. Not as clumsy or random as C++; a language for a more civilized age. -- 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: [ANN] emacs-clojure-vagrant: a sane development virtual environment
Thanks Phil, I added a bit of context to the bug report and I am tracking it. brett On Tue, Jun 28, 2011 at 12:46 AM, Phil Hagelberg wrote: > Brett Morgan writes: > > > I just tried out your vagrant script, and it appears to be dying on an > > unmet dependency: > > > > [default] --2011-06-27 06:33:42-- > > https://github.com/downloads/icylisper/jark/jark-0.3 > > [default] 207.97.227.239 > > [default] > > [default] connected. > > [default] 404 Not Found > > [default] 2011-06-27 06:33:44 ERROR 404: Not Found. > > > > Any suggestions for working around this? > > I just opened an issue for this last night. For the time being it may be > best to just comment out the jark section of the script until it's fixed. > > https://github.com/icylisper/jark/issues/51 > > -Phil > > -- > 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: Handling java streams..
On Mon, Jun 27, 2011 at 6:52 AM, Andreas Liljeqvist wrote: > Yes, bit ashamed that I didn't know that.. > > Kind of surprised though that not many seem to use it, most clojurists(?) > seems to roll their own solution. Probably because it's not in clojure.core, which means a) it isn't found by searching the docs in many of the usual ways; b) it isn't in the various "intro to clojure" books that have been popping up; and c) using it takes a bit of additional effort compared to using stuff from clojure.core Yes, I know rolling your own likely takes more effort than adding an import line and widening the scope of doc searches. Go figure. It gets worse, of course, when the library isn't in the main clojure jar either, so that project dependencies have to be added, additional files downloaded, and suchlike, and an even wider doc search is needed to find the thing. So we see more frequent overlooking of things in clojure.set etc. than in clojure.core, more frequent still when it's in contrib, and more frequent still when it's in neither the clojure jar nor the contrib jar. (Which, with 1.3's breakup of contrib, will be almost everything not in core.) -- Protege: What is this seething mass of parentheses?! Master: Your father's Lisp REPL. This is the language of a true hacker. Not as clumsy or random as C++; a language for a more civilized age. -- 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: Handling java streams..
At this point I'll just put in a plug for the Clojure Atlas: typing stream into that yields several results that cover clojure.java.io/input-stream etc. On Mon, Jun 27, 2011 at 3:52 AM, Andreas Liljeqvist wrote: > Yes, bit ashamed that I didn't know that.. > > Kind of surprised though that not many seem to use it, most clojurists(?) > seems to roll their own solution. -- 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: Tree vaadin?
I have tried to use amap but I was too difficult for me and I have tried the map: (def tree (com.vaadin.ui.Tree. "Planets")) (map #(.addItem tree (.toString (first %))) planets) But I get an error: IllegalArgumentException Don't know how to create ISeq from: clojure.lang.PersistentStructMap$Def clojure.lang.RT.seqFrom (RT.java:487) I have a tree with 5 siblevels and I need something like this java code. for (int i=0; ihttp://groups.google.com/group/clojure?hl=en
Re: struct sharing same key?
:1 and :3 are keywords, not numbers. map literals are specified in terms of key-value pairs; for example, in {a b c d}, a and c are keys, b and d are values. In your person struct, :1 is only used as a key once, which is why that works. This might help make things clearer: (struct person {:1 "english person" [{:2 "Andrew D" [{:3 "father Andrew D" :3 "mother Lisa D"}] :2 "Justin M" [{:3 "Elisa M"}]}] :1 "chinese person" [{:2 "Chi chi"}] }) In the first pair, :1 is the key, "english person" is the value. In the second pair, the nested vector/map thing is the key, :1 is the value. In the last pair, "chinese person" is the key, the vector containing a map is the value. With all due respect, the questions you've posted to the list contain some misunderstandings about certain Clojure fundamentals. May I suggest taking the time to work through a tutorial or book? It will make life easier going forward. There are many good choices to pick from, but this is one of my personal favorites: http://java.ociweb.com/mark/clojure/article.html -- 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: deftype issue in 1.3-beta1
Thanks for the report Praki. Definitely a bug; I created http://dev.clojure.org/jira/browse/CLJ-817 with a patch. I expect a fix will make it into the next beta. Best, Alan Clojure/core On Sat, Jun 25, 2011 at 1:25 PM, Praki wrote: > This looks like an issue with hyphenated attribute names in deftype. > defrecord seems to be fine. > > user> *clojure-version* > {:major 1, :minor 3, :incremental 0, :qualifier "beta1"} > user> (deftype Foo [foo]) > user.Foo > user> (Foo. 1) > #user.Foo[1] > user> (deftype Bar [bar-id]) > user.Bar > user> (Bar. 1) > ; Evaluation aborted. > user> > > The stack trace is: > > No matching field found: bar-id for class user.Bar > [Thrown class java.lang.IllegalArgumentException] > > Restarts: > 0: [QUIT] Quit to the SLIME top level > > Backtrace: > 0: clojure.lang.Reflector.getInstanceField(Reflector.java:289) > 1: clojure.core$print_deftype > $iter__5055__5059$fn__5060$fn__5061.invoke(core_print.clj:246) > 2: clojure.core$print_deftype > $iter__5055__5059$fn__5060.invoke(core_print.clj:245) > 3: clojure.lang.LazySeq.sval(LazySeq.java:42) > 4: clojure.lang.LazySeq.seq(LazySeq.java:60) > 5: clojure.lang.RT.seq(RT.java:466) > 6: clojure.core$seq.invoke(core.clj:133) > 7: clojure.core$print_sequential.invoke(core_print.clj:46) > 8: clojure.core$print_deftype.invoke(core_print.clj:247) > 9: clojure.core$fn__5070.invoke(core_print.clj:250) > 10: clojure.lang.MultiFn.invoke(MultiFn.java:167) > 11: clojure.core$pr_on.invoke(core.clj:3244) > 12: clojure.core$pr.invoke(core.clj:3256) > 13: clojure.lang.AFn.applyToHelper(AFn.java:161) > 14: clojure.lang.RestFn.applyTo(RestFn.java:132) > 15: clojure.core$apply.invoke(core.clj:600) > 16: clojure.core$pr_str.doInvoke(core.clj:4184) > 17: clojure.lang.RestFn.invoke(RestFn.java:408) > 18: swank.commands.basic > $eval807$interactive_eval__808.invoke(basic.clj:66) > 19: clojure.lang.Var.invoke(Var.java:401) > 20: user$eval1672.invoke(NO_SOURCE_FILE) > 21: clojure.lang.Compiler.eval(Compiler.java:6406) > 22: clojure.lang.Compiler.eval(Compiler.java:6372) > 23: clojure.core$eval.invoke(core.clj:2745) > 24: swank.core$eval_in_emacs_package.invoke(core.clj:92) > 25: swank.core$eval_for_emacs.invoke(core.clj:239) > 26: clojure.lang.Var.invoke(Var.java:409) > 27: clojure.lang.AFn.applyToHelper(AFn.java:167) > 28: clojure.lang.Var.applyTo(Var.java:518) > 29: clojure.core$apply.invoke(core.clj:600) > 30: swank.core$eval_from_control.invoke(core.clj:99) > 31: swank.core$eval_loop.invoke(core.clj:104) > 32: swank.core$spawn_repl_thread$fn__494$fn__495.invoke(core.clj:309) > 33: clojure.lang.AFn.applyToHelper(AFn.java:159) > 34: clojure.lang.AFn.applyTo(AFn.java:151) > 35: clojure.core$apply.invoke(core.clj:600) > 36: swank.core$spawn_repl_thread$fn__494.doInvoke(core.clj:306) > 37: clojure.lang.RestFn.invoke(RestFn.java:397) > 38: clojure.lang.AFn.run(AFn.java:24) > 39: java.lang.Thread.run(Thread.java:662) > > -- > 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
More sane emacs for clojure
Something I just discovered and thought it might be of benefit here. Since the main environment for clojure is currently emacs; clojure box, swank etc; and emacs has a learning curve it may be useful to reduce the emacs learning curve so that we can concentrate on learning clojure. Ergo Emacs http://ergoemacs.org. Provides normal(expected) key bindings for emacs plus includes a lot of goodies and language support bundled in by default. This might even by very cool with clj launcher http://clojure02.managed.contegix.com/display/design/CLJ+Launcher. Just some languages supported out of the box. From here http://ergoemacs.org/features.html. Csharp JavaScript PHP Haskell Clojure Erlang Scala OCaml, F# Lua And some of the preinstalled features. Additional Conveniences - there are far more listed on the site. Template set for tens of languages (yasnippet) Enhanced feature of name completion. (AutoComplete) Enhanced directory viewer (DiredPlus) Enhanced bookmark (BookmarkPlus) Emacs Unicode Browser Emacs Math Symbols Input Mode (xmsi-mode) Tab bar GUI (TabBarMode) A Twitter mode (TwIt) PDF and Image files can be viewed inside emacs. Bundled all common unix commands that are used by emacs: grep, find, diff, patch, gzip ... (the whole MSYS component of MinGW.) Support 3 new shells: shell (cmd.exe), msys-shell (bash), eshell (elisp shell), powershell (PowerShell). All these are under the menu I am going to try and figure out what clojure box installs and see if I can merge it with ergo emacs. It might create a great ready to go environement out of the box. -- 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: More sane emacs for clojure
On Jun 28, 1:47 pm, flebber wrote: > Something I just discovered and thought it might be of benefit here. > Since the main environment for clojure is currently emacs; clojure > box, swank etc; and emacs has a learning curve it may be useful to > reduce the emacs learning curve so that we can concentrate on learning > clojure. > > Ergo Emacshttp://ergoemacs.org. Provides normal(expected) key > bindings for emacs plus includes a lot of goodies and language support > bundled in by default. This might even by very cool with clj > launcherhttp://clojure02.managed.contegix.com/display/design/CLJ+Launcher. > > Just some languages supported out of the box. From > herehttp://ergoemacs.org/features.html. > > Csharp > JavaScript > PHP > Haskell > Clojure > Erlang > Scala > OCaml, F# > Lua > > And some of the preinstalled features. > Additional Conveniences - there are far more listed on the site. > > Template set for tens of languages (yasnippet) > Enhanced feature of name completion. (AutoComplete) > Enhanced directory viewer (DiredPlus) > Enhanced bookmark (BookmarkPlus) > Emacs Unicode Browser > Emacs Math Symbols Input Mode (xmsi-mode) > Tab bar GUI (TabBarMode) > A Twitter mode (TwIt) > PDF and Image files can be viewed inside emacs. > Bundled all common unix commands that are used by emacs: grep, find, > diff, patch, gzip ... (the whole MSYS component of MinGW.) > Support 3 new shells: shell (cmd.exe), msys-shell (bash), eshell > (elisp shell), powershell (PowerShell). All these are under the menu > > I am going to try and figure out what clojure box installs and see if > I can merge it with ergo emacs. It might create a great ready to go > environement out of the box. I can install swank-clojure from this https://github.com/technomancy/swank-clojure#readme. However cannot figure out how to get the repl working. -- 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
Aw: Re: Handling java streams..
Hi, Am Montag, 27. Juni 2011 23:50:52 UTC+2 schrieb Ken Wesson: > a) it isn't found by searching the docs in many of the usual ways; > Is that really so hard? http://clojure.github.com/clojure top-right TOC: "clojure.java.io" If I look for stream handling, wouldn't that sound interesting? Sadly the mind-reading documentation site is not ready, yet. Until then I recommend to read (and experiment with) one or two random functions from the reference every day. In that way you (not you, Ken. "you" in general "the newbie") get an overview and get familiar with the docs. Sincerely Meikel -- 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
Mocking framework
Hi, I'm currently working on my first real Clojure project, and I find myself wanting a mocking tool. So I was wondering what you are using? I tried googling, but I can't seem to find the "Mockito of the clojure world". Searching for a mocking tool in Clojure it looks like there is a lot of small tools being thrown together, but maybe not being used by many? The one exception maybe is https://github.com/marick/Midje? Thanks, Erik. -- 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