Hi,
Please excuse my newbie ignorance - I would like to do something that seems
pretty basic, yet I couldn't figure it out yet.
I would like to call a function that is loaded in a different namespace, but
without having to load the library again in the current namespace - more
precisely:
in db.clj
10 09:46, Rick Moynihan wrote:
> > On 14 November 2010 20:47, Victor Olteanu wrote:
> >> Github is down at the moment unfortunately...
> >
> > Ahhh great, it's back up... Looks like github was partially down as
> > other pages were returning for me.
>
>
Github is down at the moment unfortunately...
On Sun, Nov 14, 2010 at 3:27 PM, Rick Moynihan wrote:
> Hi all,
>
> When I ran some Clojure Dojo's in Dundee, we did a few group sessions
> going through labrepl and its exercises; and I thought the format
> worked well. I'm keen to do the same thing
How can people not *love* JavaScript? :) Take for example this excerpt from
'JavaScript: the Good Parts':
"The new function object is given a prototype property whose value is an
object containing a constructor property whose value is the new function
object"
(PS: that is not one of the "good par
cf. node js, I thought of mentioning this link
http://dosync.posterous.com/22397098
On Fri, Oct 29, 2010 at 11:10 PM, Santosh Rajan wrote:
> Now that server side javascript is growing with node.js, clojure on
> javascript will be usefull. Nodejs is event based and not thread based so I
> don't k
> can switch to clojure.core's slurp and spit and drop duck-streams
> altogether.
>
> On Oct 25, 8:59 pm, Victor Olteanu wrote:
> > Thank you.
> >
> > The following statement worked for me:
> > (:require [clojure.contrib.duck-streams :as d])
> >
> &g
f
Clojure...
On Mon, Oct 25, 2010 at 10:25 PM, Michael Ossareh wrote:
>
>
> On Mon, Oct 25, 2010 at 19:09, Victor Olteanu wrote:
>>
>> java.lang.IllegalStateException: spit already refers to:
>> #'clojure.contrib.duck-streams/spit in namespace: datatool.api (api.
Hi friends,
I am getting the following error and was hoping somebody may be able to
assist:
java.lang.IllegalStateException: spit already refers to:
#'clojure.contrib.duck-streams/spit in namespace: datatool.api (api.clj:1)
I realized it's because clojure.contrib.duck-streams/spit is overriding
quot;my_datum"} :params} ...)
Thanks again!
Victor
On Fri, Sep 17, 2010 at 9:18 PM, Miki wrote:
> See http://clojure.pastebin.com/ncaULRbU (works for me).
> I've changed the POST handler to use *params* and I also think you're
> not closing the :h2 in view output
Sure, here it is:
(defn view-layout [& content]
(html
(doctype :xhtml-strict)
(xhtml-tag "en"
[:head
[:meta {:http-equiv "Content-type"
:content "text/html; charset=utf-8"}]
[:title "Datum"]]
[:body content]))
Some examples to illustrate this would be very welcome.
On Aug 22, 2010, at 9:17 AM, Nicolas Oury wrote:
> On Sun, Aug 22, 2010 at 11:30 AM, Belun wrote:
>> why does everything have to be a data structure ? like (operation
>> parameter parameter ...)
>
> Because it makes really easy to do me
Thanks, I like gedit too as it's fast and easy to use.
What about auto-indenting, any ideas about that?
-V
On Fri, Aug 20, 2010 at 8:30 PM, mitko wrote:
> Apparently it is not that hard to create something that does decent
> job for syntax highlighting for Clojure. It took me about 3-4 hours
>
I took a first look and I have to say that the idea is genius and I love
what you put up together this far.
It is difficult to keep up with what's happening in the Clojure world, and
this kind of central place to keep track of things was needed. The examples
are also a strong point.
I hope the site
13 matches
Mail list logo