Hi Stuart.
thank you for pointing me to my 'cloSure' misspelling. Have lived in the
Scheme world for too long :-)
As to Java classes generation, IMHO it is more save to generate Java
bytecode directly instead of using intermediate Java sources. This is how I
create classes now using a
Hi,
I get the following results using criterium[1]:
user= (bench (naive-into #{} (range 1e5)))
Evaluation count : 900 in 60 samples of 15 calls.
Execution time mean : 70,659330 ms
Execution time std-deviation : 2,605840 ms
Execution time lower quantile : 67,538775 ms ( 2,5%)
Thanks Nicolas,
may be you are right, and I'll end up with Kawa or Bigloo. I just evaluate
Clojure, trying to find out if it fits to my goals.
On Monday, November 5, 2012 1:40:10 PM UTC+4, Nicolas Oury wrote:
I am not sure it will help, but have you tried Kawa?
It is a Scheme compiling to
Hi All,
Does anyone know of a good simple library to call/consume web-services from
Clojure? Note I don't want to create a web-service just call one.
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
Hello Ambrose,
Thanks for your great work, I look forward to using Typed Clojure!
Tiny correction: there is a double are on page 9: Listing 1.5 shows a
simple example of using singleton types in Typed Clojure.
Singleton types *are are* discussed further in section 2.5.
Stathis
On Thursday,
Try clj-http (https://github.com/dakrone/clj-http)
On 5 November 2012 12:12, N8Dawgrr nathan.r.matth...@gmail.com wrote:
Hi All,
Does anyone know of a good simple library to call/consume web-services
from Clojure? Note I don't want to create a web-service just call one.
--
You
Another one:
Page 31,
This *mean* that at compile time we cannot completely trust the type
signature of any Java method or eld that involves an array.
should be:
This *means* that at compile time we cannot completely trust the type
signature of any Java method or eld that involves an array.
No, you don't. I want a command that works INSIDE of f not ON f. The
function that I gave earlier was something overly simple.
On Monday, November 5, 2012 12:46:24 AM UTC-5, Jerry Peng wrote:
If I understand your problem correctly, you could use `apply`.
user= (defn f [w x y z] (+ w x y
Given the setup that you provided, using apply is a perfectly valid answer.
What are the complicating factors that prevent you form using it? Could you
give us an example that's closer to your use case?
On Monday, 5 November 2012 13:35:41 UTC, cej38 wrote:
No, you don't. I want a command
Many thanks!
I'd prefer if typos and corrections could be directed to my personal email,
rather than the Clojure group :)
Thanks,
Ambrose
On Mon, Nov 5, 2012 at 9:26 PM, Stathis Sideris side...@gmail.com wrote:
Another one:
Page 31,
This *mean* that at compile time we cannot completely
Am Montag, 5. November 2012 15:04:12 UTC+1 schrieb Ambrose
Bonnaire-Sergeant:
Dave Ray's VimClojure page is fantastic. Thank you to all involved.
Indeed. The best introduction so far, IMHO*.*
*
*
Meikel
(thankful VimClojure author)
--
You received this message because you are subscribed to
Hi,
if it could be useful I just published the first 3 of a series of tutorials
on ClojureScript. My intention is to go on with the rest of them using my
spare time...
You can find them at
https://github.com/magomimmo/modern-cljs
Best regards
Mimmo
On Monday, November 5, 2012 1:35:40 PM
It's not possible because (in this example) F will throw an ArityException
if invoked with anything other than four arguments.
'apply' is special in that it invokes the function via
'applyTohttps://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/AFn.java#L150'
(which takes a single
What - expectations is a minimalist's testing framework
- what you are testing is inferred from the expected and actual forms
- stacktraces are trimmed of clojure library lines and java.lang lines
- focused error failure messages
Where - https://github.com/jaycfields/expectations
When - read
Hi,
I started a short series of tutorials on ClojureScript that I'm writing in
my spare time.
You can find them at
https://github.com/magomimmo/modern-cljs
hope could be useful...and to have enough time to go on with the next
ones...
Mimmo
--
You received this message because you are
Nice!
Could you please add some screenshots? You know a picture attracts
more attention than 100 words. (Thx in advance!)
BTW You don't need to hope - it is useful!
Bost
On 5 November 2012 16:29, Mimmo Cosenza mimmo.cose...@gmail.com wrote:
Hi,
I started a short series of tutorials on
Hi, I'll do it next days :-(...
I did not see so many pictures in github repos, so I was thinking it's not
considered polite to add them...but you're rights
thanx
mimmo
On Monday, November 5, 2012 4:29:42 PM UTC+1, Mimmo Cosenza wrote:
Hi,
I started a short series of tutorials on
Hi all!
I've just put out a number of new releases today. All libraries are up on
Clojars. Features other info on the relevant GitHub pages.
v1.0.0 releases
===
*Carmine* - Redis client message queue -
https://github.com/ptaoussanis/carmine
*Timbre* - (sane) logging profiling -
Hi,
AFAIK the currently supposed way of parsing XML with Clojure is to use a
combination of clojure.xml, clojure.zip, data.zip and data.zip.xml. Please
correct me if I'm wrong.
I am trying to extract the equivalent of a union of nodesets from an XML
file (speaking in XPath terms).
Example:
Hello,
I have a question concerning the page related to User Groups :
http://clojure-doc.org/articles/ecosystem/user_groups.html
This seems clearly redundant with the page
http://dev.clojure.org/display/community/Clojure+User+Groups
It so happens that I have modified this page very recently,
2012/11/5 Laurent PETIT laurent.pe...@gmail.com
As it stands, the new page on clojure-doc.org adds no value. Why not just
point to the official Clojure User Groups page? I don't understand the
rationale ...
If you consider that dev.clojure.org is a closed party and contributing to
CDS is as
you might submit this problem on 4clojure
i think you need regex for a short solution, something like
(*fn* [s] (clojure.string/join (map #(*let* [[_ c r] (re-find
#([^aeiouAEIOU]*)(\w*) %)] (str r - c (*if* (empty? c) \w)ay))(
clojure.string/split s #\s
Am Mittwoch, 31. Oktober 2012
*The London Clojure Community:Machine Learning With Clojure
*
Machine Learning involves developing systems to process (potentially very
large) datasets, developing algorithms and models that can then be used to
make predictions of future events. Neale Swinnerton will investigate which
features
Looking at the source of clojure.data.zip, it looks like something like:
(xml- x :a (seq-test [(tag= :b1) (tag= :b3)]) :c)
(untested) might work?
http://clojure.github.com/data.zip/
On Mon, Nov 5, 2012 at 10:38 AM, Stefan Kamphausen ska2...@gmail.com wrote:
Hi,
AFAIK the currently supposed
Shouldn't that be TOMORROW? Says the 6th in the link.
On Monday, November 5, 2012 11:20:17 AM UTC, Theo wrote:
*The London Clojure Community:Machine Learning With Clojure
*
Machine Learning involves developing systems to process (potentially very
large) datasets, developing algorithms and
I think by tonight you mean tomorrow the 6th. Tonight is Bonfire Night.
Remember, remember...
On Nov 5, 2012 6:26 PM, Theo theo.engl...@skillsmatter.com wrote:
*The London Clojure Community:Machine Learning With Clojure
*
Machine Learning involves developing systems to process (potentially
2012/11/5 Michael Klishin michael.s.klis...@gmail.com
2012/11/5 Laurent PETIT laurent.pe...@gmail.com
As it stands, the new page on clojure-doc.org adds no value. Why not
just point to the official Clojure User Groups page? I don't understand the
rationale ...
If you consider that
Hi,
if I am doing this right, then your supposed approach does not work. From
looking at the code of seq-test (to which the alternative form using just a
vector in xml- boils down, too) it seems to be more like a look ahead
within the current node. See e.g. the test code at
2012/11/5 Michael Klishin michael.s.klis...@gmail.com
2012/11/6 Laurent PETIT laurent.pe...@gmail.com
And overall, I really *hate* the idea that now people will get confused
because there are 2 URLs on the internet where Clojure User Groups are
listed. This is *nonsense* to me.
Having
2012/11/5 Michael Klishin michael.s.klis...@gmail.com
2012/11/6 Laurent PETIT laurent.pe...@gmail.com
And overall, I really *hate* the idea that now people will get confused
because there are 2 URLs on the internet where Clojure User Groups are
listed
Don't worry. dev.clojure.org for
FWIW I found a solution by mimicking the original tag=:
With data.zip as dz and clojure.zip as zip the following predicate can be
used inside of xml-
(defn tag-is-one-of [tagnames]
(fn [loc]
(filter
(fn [l]
(and (zip/branch? l)
(some #(= % (:tag (zip/node l)))
On Sunday, November 4, 2012 4:18:27 PM UTC-5, Vladimir Tsichevski wrote:
That's why I'm looking for means which could HELP me rewrite my code base
to Clojure, not to produce compilable and runnable code. Just parse Java
syntax tree and pretty-print it back as Clojure-like text.
Even if
Hi All,
I quite like Clojure but have been confused from time to time on particular
design choices. I find understanding the root cause of these decisions
helps to understand the language better. As example, the fact that
complement and not are separate functions has been puzzling me for a bit
you're right, my bad. should have read it more carefully :)
On Mon, Nov 5, 2012 at 2:32 PM, Stefan Kamphausen ska2...@gmail.com wrote:
Hi,
if I am doing this right, then your supposed approach does not work. From
looking at the code of seq-test (to which the alternative form using just a
Thanks for your contributions, Peter!
Tower is of particular interest to me. Are you planning any support for
ClojureScript with Tower, at all? Either way, I know we'll almost certainly
make use of Tower. We will need to bring what Tower does into our cljs app
as well. Perhaps we can
Hi Robert,
Are you planning any support for ClojureScript with Tower, at all?
No plans yet, but I'd be very happy to take pull-requests (or ideas) if
anyone is interested!
The localization stuff basically just wraps standard Java facilities to
make them more useable, so that's not
36 matches
Mail list logo