Re: New to Clojure

2017-01-12 Thread Christopher Small
I would _strongly_ recommend you consider HoneySQL over KormaSQL. Korma is based on macros, making it much more difficult to dynamically/programatically construct queries. HoneySQL by contrast is simply a translational layer from Clojure data structures to SQL queries, so the probablem of

Re: New to Clojure

2017-01-12 Thread (hash-map :new "to clojure" :need "assistance")
Hi Sean, Thanks for your reply. This is really helpful - I really like the look of the jdbc library! Much appreciated. On Tuesday, January 10, 2017 at 2:55:05 AM UTC, Sean Corfield wrote: > > > With the time we have (around 1 month for this stage), is this something > we can easily build in

Re: [ANN] Ultra v0.5.1 - a Leiningen plugin for a superior development environment

2017-01-12 Thread Mars0i
On Thursday, January 12, 2017 at 12:25:38 PM UTC-6, David Jarvis wrote: > > I'm not sure, though I have a hypothesis - is this an issue for all > sequences, or just for maps? > All sequences. Well, not exactly--see below. But I don't mind the one entry-per-line behavior for maps. It bothers

Re: New to Clojure

2017-01-12 Thread (hash-map :new "to clojure" :need "assistance")
Hi Dennis, Thanks very much for getting back to me - this sounds really good. I've had a look at sqlkorma seems simple enough to get started working with. Once again, thanks very much most appreciated. On Tuesday, January 10, 2017 at 12:05:48 AM UTC, Dennis Roberts wrote: > > From what you've

Re: [ANN] Ultra v0.5.1 - a Leiningen plugin for a superior development environment

2017-01-12 Thread W. David Jarvis
I'm not sure, though I have a hypothesis - is this an issue for all sequences, or just for maps? On Thu, Jan 12, 2017 at 7:58 AM, Mars0i wrote: > Hi David (or anyone else)- Is there a way to make sequences print all on > one line, as in the default repl behavior, rather

Re: Private multimethods possible?

2017-01-12 Thread Andy Fingerhut
At least a few tools built on top of Clojure (not part of the base language implementation) might not work with multiple namespaces defined in the same file. The library tools.namespace, for one, looks for only the first ns form in each source file, and assumes there are no more after that. I do

Re: [ANN] Ultra v0.5.1 - a Leiningen plugin for a superior development environment

2017-01-12 Thread Mars0i
Hi David (or anyone else)- Is there a way to make sequences print all on one line, as in the default repl behavior, rather than with one element per line? I haven't found anything about this in the documentation or in the whidbey config map. Thanks. -- You received this message because

New to Clojure - productivity and debugging with Emacs

2017-01-12 Thread Chad Stovern
Not much to add here, but if you're digging into Emacs and the modes you've listed, I've started to document my emacs config here: https://github.com/chadhs/dotfiles/blob/master/editors/emacs-config.org If you're curious about common feature uses; head to the keybindings section and look at

Re: New to Clojure - productivity and debugging with Emacs

2017-01-12 Thread Bill Piel
The key to using sayid to capture curl requests is having emacs/cider connected to the same jvm instance that is running the web server. I did this by starting a repl with `lein repl`, then calling the -main function, which started the web server. From there, I used sayid to trace namespaces

[ANN] Clojure/west - Portland, OR - Mar 30-31, 2017

2017-01-12 Thread Alex Miller
Save the date for Clojure/west in Portland, OR! March 30-31, 2017 Hilton Portland & Executive Towers clojurewest.org Registration: Clojure/west registration will open on Tuesday, January 17 at 4pm PST. A limited number of Early Bird tickets will be available for $350. After that Regular

Re: Multimethods dispatch value order

2017-01-12 Thread Alex Miller
I'm confused by what you're saying here - these are examples of passing a map, not of passing varargs. If you want to pass a map, you'll need a set up like: (defmulti test-html :language);; :language here is a keyword being used as a function of one arg (the map) (defmethod test-html