On Sep 13, 2008, at 11:43 PM, Stephen C. Gilardi wrote:
> I've made some changes to clojure.contrib.sql:
In a further update, I've added insert-rows and insert-values that
make inserting entire rows of values and values in specified columns
easier.
--Steve
--~--~-~--~~
On Sep 10, 2008, at 11:40 AM, Rich Hickey wrote:
>
> What are you doing with Clojure?
Nothing at the moment. I wrote a knowledgebase engine inspired by the
Cyc project, and I also wrote part of a web application in Compojure
that lets users create web forms.
> What 3 features would you mos
> What are you doing with Clojure?
I work in a fairly conservative environment where they probably
wouldn't approve of my using a language in an alpha state, much less a
variant of Lisp! But since I love the language and the interactive
environment with Emacs, I decided it's easier to beg forgive
I've made some changes to clojure.contrib.sql:
- Renamed some functions/macros to shorter names:
get-connection -> connection
execute-commands -> do-commands
execute-prepared-statement -> do-prepared
with-query-results -> with-results
- Added create-table, drop-ta
> What are you doing with Clojure?
I'm trying to write a DSL for molecular dynamics analysis (with
partial success). Users will be able to compose complex properties
from basic info such as bond lengths/angles, position, velocity, etc.
I'd like to add regression and integrate it with a 3d viewer
On Sep 13, 2008, at 7:44 AM, meredydd wrote:
> Hey all,
>The current version of the (with-connection) macro in clojure-
> contrib doesn't return the result of its body. (It just returns nil
> from the commit() call at the end of the transaction). I attach a
> patch to achieve this behaviour,
Several months ago, I put out a Clojure file that could let you work
with state machines. I was just starting to work in the functional
programming style and that code looked like it. It was very long with
multiple complex functions and complicated data structures. Basically
trying to solve the
Clojure/SLIME integration may be in flux after the recent API
changes. But plain old "inferior-lisp" mode works just fine:
M-x customize-variable RET inferior-lisp-program
...set the path of your Clojure startup script...
M-x inferior-lisp
A simple startup script could be simply:
What is the value of variable swank-clojure-jar-path in emacs?
Try to set it by running M-x customize-group swank-clojure , I wonder
if it helps. I got it running finally with Matt advice.
On Sep 13, 1:47 am, Apurva Sharan <[EMAIL PROTECTED]> wrote:
> Oops - hit Ctrl-S too soon :(
>
> The error
On Sep 13, 7:44 am, meredydd <[EMAIL PROTECTED]> wrote:
> Hey all,
> The current version of the (with-connection) macro in clojure-
> contrib doesn't return the result of its body. (It just returns nil
> from the commit() call at the end of the transaction). I attach a
> patch to achieve thi
Aaand I'm a moron, who managed to screw up posting a trivial patch.
This is the version that actually works:
(the first was missing a # on body-result):
Index: src/clojure/contrib/sql/sql.clj
===
--- src/clojure/contrib/sql/sql.clj
Hey all,
The current version of the (with-connection) macro in clojure-
contrib doesn't return the result of its body. (It just returns nil
from the commit() call at the end of the transaction). I attach a
patch to achieve this behaviour, so it can be used in a functional
style.
Meredydd
--
12 matches
Mail list logo