user= (doc read-string)
-
clojure.core/read-string
([s])
Reads *one* object from the string s
nil
(emphasis on *one* by me)
one object from :a( = :a; :a) = :a; ( … = fail; )… = fail. (remember
whitespace in front of a paren doesn't matter)
Have fun.
From: noahlz
$ lein search clojurescript
Searching over Artifact ID...
== Showing page 1 / 2
[org.clojure/clojurescript 0.0-927] ClojureScript compiler and core
runtime library.
(...)
[org.clojure/clojurescript 0.0-1576] ClojureScript compiler and core
runtime library.
[org.clojure/clojurescript 0.0-1586]
$ lein new replbuiltin cd replbuiltin
$ sed -Ee 's,.0,.0][org.clojure/tools.nrepl 0.2.2,' project.clj p
mv -f p project.clj
$ lein deps
$ cat EOF src/replbuiltin/core.clj
(ns replbuiltin.core
(:use [clojure.tools.nrepl.server :only [start-server stop-server]]))
(defn foo [x] x)
(defn
Obviously it helps to make sure the dependencies you are using are named with
the exact snapshot version.
The biggest time-saver for me though is convincing lein to not do the
dependency dance all the time. I'm surprised though to see that you are
dependency checking at all though. Shouldn't
@googlegroups.com] On Behalf Of Sean
Corfield [seancorfi...@gmail.com]
Sent: Friday, September 07, 2012 18:44
To: clojure@googlegroups.com
Subject: Re: edn
On Thu, Sep 6, 2012 at 8:26 PM, Weber, Martin S martin.we...@nist.gov wrote:
The question that's left for me is: why vectors and lists? I mean, from
which problem other than NIH is edn solving? - given it's a subset of
clojure's data notation, it's not really native clojure either, so you gotta
convert to/fro.
So: Why do we need another JSON?
I'm sure you have answers to these questions, possibly answered them before,
but definitely not
Rich:
On Sep 6, 2012, at 9:10 PM, Weber, Martin S wrote:
which problem other than NIH is edn solving? - given it's a subset of
clojure's data notation, it's not really native clojure either, so you
gotta convert to/fro.
Of course it's native Clojure. Being a subset doesn't affect
Please don't use edn if you don't see the point. I'm not trying to convince
you or anyone else.
I expect there to be a point, and thus also expect it to be communicatable. If
there wasn't
a point, you wouldn't have chosen to use it in datomic, or create the page. I
feel you haven't
Stu:
The rationale appears to be up now, and for my money, it is quite clear: JSON
not powerful enough, Clojure does too much and is a burden for implementers.
That said, I won't complain if somebody happens to implement full Clojure
serialization while implementing edn. ;-)
The question
I'm sorry to say, but IMHO you failed to communicate the critical point to
your audience. If your audience keeps failing to grasp the point, and
communicates this failure back by asking the same question..
I do understand the distinction between a collection and a sequence and
something being a
Yeah I don't like that either. Consider (comp vals (partial group-by
identity)).
On 2012-03-29 16:18 , David Jagoe davidja...@gmail.com wrote:
Hi all,
I'm sure I'm missing a really simple way of doing this!
Given a sequence like this: [1 2 1 2 1 1 2 1 2 2 2]
partition it to get this: [(1 2) (1
Meh. Half-assed (mis)reading. Sorry. -Martin
On 2012-03-29 16:23 , Weber, Martin S martin.we...@nist.gov wrote:
Yeah I don't like that either. Consider (comp vals (partial group-by
identity)).
On 2012-03-29 16:18 , David Jagoe davidja...@gmail.com wrote:
Hi all,
I'm sure I'm missing a really
I was looking for something akin common lisps |weIrD SymBol!`| already,
too...
On 2012-03-06 15:28 , Frank Siebenlist frank.siebenl...@gmail.com
wrote:
SoŠ spaces are not allowed in symbol and keyword identifiers according to
the specŠ
although Stu doesn't quote the phrase following the allowed
Then both Clojure and ClojureScript's `ns` macro should complain about
multiple present (:require ..) or (:use ..) forms at compile-time. At lest
Clojure's `ns` macro doesn't do that on clj-1.3.
Regards,
-Martin
On 2012-03-05 17:15 , Stuart Sierra the.stuart.sie...@gmail.com wrote:
Yes, it is
14 matches
Mail list logo