On Tue, Aug 28, 2012 at 11:42 AM, Herwig Hochleitner wrote:
> 2012/8/27 Denis Labaye
>
>> Fetch JSON with clj-http AND extract informations from it with enlive.
>>
>> Does anyone know what's the most straightforward way to do that?
>>
>
> Enlive currently is tied to selecting and transforming XM
Neocons is a feature rich idiomatic Clojure client for the Neo4J REST API.
Neocons 1.0.1 is a bug fix release that corrects an issue with node index
configuration not being
posted to the server correctly.
Full change log:
https://github.com/michaelklishin/neocons/blob/1.0.x-stable/ChangeLog.md
D
I finally started trying some ClojureScript, hoping things would be working
and documented, but I'm still having a lot of trouble even getting a simple
app together.
cljs-build does a fair job at getting a working setup in a few minutes, but
there is still a lot of things that are "just because
Hi,
Re: ContentEditableField
ContentEditableFIeld has only recently been added to the Google Closure
Library
(http://code.google.com/p/closure-library/source/list?path=/trunk/closure/goog/editor/contenteditablefield.js&start=2035).
Are you sure that the version of the Google Closure Library t
Clojure is inherently shiny, no need to gild the lily.
What's the purpose and duration of your "code retreat"?
Russell
On Monday, August 27, 2012 2:41:20 AM UTC-7, Denis Labaye wrote:
>
> Hi,
>
> I am organizing a code retreat in September.
>
> All languages are accepted, I want to use Clojure f
On Thu, Aug 30, 2012 at 12:20 AM, Russell Whitaker <
russell.whita...@gmail.com> wrote:
> Clojure is inherently shiny, no need to gild the lily.
yes but it has parenthesis
>
> What's the purpose and duration of your "code retreat"?
>
1 day
subjects are free
the public is 1/3 convinced by cloj
> I sort of remember Rich Hickey say this, but I am not sure :).
I was a bit mistaken.
In this video (
http://blip.tv/clojure/clojure-data-structures-part-2-714064 ) , around
42nd minute, he says that assoc is "the normal way" and is "more
convenient" because you can assoc multiple keys and val
The promise of ClojureScript data structures depends heavily on the
performance of serialization: pr-str and the reader. I've done some
work on the reader and Evan has kindly created some patches for
pr-str. His work speeds up pr-str by quite a bit especially on slower
JS engines like <= IE8. Howev
Alan Busby writes:
>> Doesn't setting TERM=xterm restrict you to 8 colors? I have to use
>> TERM=xterm-256color.
>
> Evidently it does.
> I guess that's a trade off then, but I'm curious what you're doing
> that requires all those colors in a terminal?
"It's for the same reason we don't wear an
On Wed, Aug 29, 2012 at 10:14 PM, Baishampayan Ghose wrote:
> Something like this?
>
> (defn A []
> 1)
>
> (defn A []
> (fn [] 1))
That would work but I wonder about how "(define ((A)) 1)" is evaluated
in Scheme and why similar and easier approach is not possible in
Clojure?
--
You received
That's the definition of a procedure named "(A)". Scheme48, for one, won't
take that name, but Chicken will, even with parameters:
#;1> (define ((A) n) n)
#;2> ((A) 5)
5
And neither will, btw, bind a value to such a symbol in a (let). Clojure
symbols can't start with an open paren, so that's just
lein-pedantic is a lein plugin to eliminate common surprising
dependency resolution issues.
The rules lein-pedantic uses to fail a dependency resolution are approximately:
1. A top level dependency is overruled by another version.
2. A transitive dependency is overruled by an older version.
Usag
I think reifying character output streams via an IWriter protocol sounds
like a good idea. Are you concerned about anything in particular wrt. to
introducing the IWriter protocol? If the protocol is Clojure destined we
may want to consider a more specific name to distinguish it from byte
oriented o
I use Rocket Scheme. The question was inspired by "Structure and
Interpretation" http://www.youtube.com/watch?v=2Op3QLzMgSY at almost
end of the video @ 1:11:11
I actually think that "((A))" is more just a symbol name since
apparently you define "A" not a "((A))"/ It is more like a
recursive/ne
On Thu, Aug 30, 2012 at 5:48 PM, Andy Coolware wrote:
> I use Rocket Scheme. The question was inspired by "Structure and
> Interpretation" http://www.youtube.com/watch?v=2Op3QLzMgSY at almost
> end of the video @ 1:11:11
>
> I actually think that "((A))" is more just a symbol name since
> appar
Let's take it case by case.
(define A 1) is like (def A 1) in Clojure.
(define (A) 1) is like (defn A [] 1)
(define (A x y) (* x y)) as you'll expect, (defn A [x y] (* x y))
(define (A) 1) is the same as (define A (lambda () 1)) ;; defines
procedure "A"
(define ((A)) 1) is the same as (def
Let's focus on that for a sec:
(define ((A)) 1) is the same as (define (A) (lambda () 1));;
defines procedure "(A)"
I wonder if you meant >>defines procedure "((A))"<< instead.
Assuming that, if "((A))" is just a name of the procedure, then
"A" and "(A)". Should not evaluate at all. Appa
Would an idiomatic definition of ((A)) be (defn fnA [] #(A))?
(defn a [] [:a :b])
(a)
; (a => fn) => [:a :b]
(defn funcA [] #(a))
(funcA)
; (funcA => fn)
((funcA))
; ((funcA)) => [:a :b]
Where you define a function which, when invoked, returns a function which,
when invoked, invokes A? This is a
That statement of mine was confusing because if you type each you'll get
different things.
The equivalence of (define (foo) bar) === (define foo (lambda() bar)) won't
hold there: you'd be defining procedure A in the second case.
If the first argument is in parens, (define) will be a function def
Hi,
I'm looking for the best way to execute some Clojure code in a more or
less completely isolated environment. That is, say we load one piece
of code:
A:
---
(ns my-ns)
(def foo [] (println "hi"))
(foo)
---
if a second piece of code was loaded:
B:
---
(ns my-ns)
(foo) ; <-- This should fai
Awesome!
--
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 ema
Does clojail [https://github.com/flatland/clojail] help in any way?
Regards,
BG
On Fri, Aug 31, 2012 at 7:08 AM, Dave Ray wrote:
> Hi,
>
> I'm looking for the best way to execute some Clojure code in a more or
> less completely isolated environment. That is, say we load one piece
> of code:
>
>
https://github.com/hiredman/polycosm
On Aug 30, 2012 6:38 PM, "Dave Ray" wrote:
> Hi,
>
> I'm looking for the best way to execute some Clojure code in a more or
> less completely isolated environment. That is, say we load one piece
> of code:
>
> A:
> ---
> (ns my-ns)
>
> (def foo [] (println "hi
Hi,
Currently, counterclockwise is using classlojure to maintain separate
Leiningen environments for separate open projects.
HTH,
Laurent
Sent from a smartphone, please excuse the brevity/typos.
Le 31 août 2012 à 03:38, Dave Ray a écrit :
> Hi,
>
> I'm looking for the best way to execute som
24 matches
Mail list logo