Hi,
I did some work on emacs-nexus (A Nexus Client for Emacs: released two
years ago):
I added ac-nexus.el: An auto-complete source using the Nexus Rest API.
Using this source, you can complete Artifact/Version-IDs in Leiningen
project files.
See the github repository and README.md for details
Am Samstag, 27. Juli 2013 17:30:08 UTC+2 schrieb Mikera:
On Saturday, 27 July 2013 03:59:55 UTC+1, Jeremy Heiler wrote:
On July 26, 2013 at 10:39:47 AM, Jürgen Hötzel (jue...@hoetzel.info)
wrote:
I did some memory profiling on a Clojure Application.
I wondered why 361000
Hi Marshall,
On Fri, Jul 26, 2013 at 5:39 PM, Marshall Bockrath-Vandegrift
llas...@gmail.com wrote:
Jürgen Hötzel juer...@hoetzel.info writes:
If a symbol X is interned twice, shouldn't the second Symbol.intern(X)
return the previous interned symbol object?
Symbols in Clojure can have
Hi Hugo,
On Thursday, February 28, 2013 5:11:57 PM UTC+1, Hugo Duncan wrote:
Hi Jürgen,
I was just looking for a nice filesystem watcher!
Jürgen Hötzel jue...@hoetzel.info javascript: writes:
- Implementation of * clojure.java.io/Coercions * and *
clojure.java.io/IOFactory
Hi,
I implemented some high-level wrappers for the File(system) improvements
introducedin NIO.2/Java 7.
In particular:
- Handle filesystem events (WatchService) via a lazy *watch-se*q
- Read directories using a lazy *dir-seq*
- Implementation of * clojure.java.io/Coercions * and *
Hi,
I implemented
(defmethod (var-get #'io/do-copy) [Path Path] [#^Path input #^Path output
opts] ...)
for fast NIO2 io, but had to do the var-get workaround because do-copy is
defined private.
Jürgen
--
--
You received this message because you are subscribed to the Google
Groups
Hi,
Although Emacs is a great environment for writing Clojure code and
Leiningen/Cake makes Maven builds less painful, you still had to
switch from your Emacs environment to your web browser to search for
Maven artifacts.
emacs-nexus is a minimal (elisp-only) Nexus client to search for
artifacts
2011/2/15 Michael Ossareh ossa...@gmail.com:
On Mon, Feb 14, 2011 at 16:50, Scott Jaderholm jaderh...@gmail.com wrote:
On Mon, Feb 14, 2011 at 7:21 PM, Jürgen Hötzel juer...@hoetzel.info
wrote:
Hi,
Although Emacs is a great environment for writing Clojure code and
Leiningen/Cake makes
2011/1/17 Stuart Sierra the.stuart.sie...@gmail.com
The problem with a seq-able? predicate is that the definition of what is
seq-able is often context-dependent. `seq` works on Strings, but you
probably don't want `flatten` to turn a String into a sequence of
characters.
Good point. There
Hi,
I came across this issue while implementing a lazy, efficient flatten that
also uses the whole sequence abstraction (flatten java arrays).
The problem with (seq x) is, that it will throw an Exception if called on
something, that cannot be coerced to sequence, so I just used sequencial?
2010/10/25 Tim Webster timothy.webs...@gmail.com:
I thought that the issue might be that the concrete data still was not
populated in my list-of-lists, unlike your literal, so I started with
a clean environment and re-ran my repl session line by line from the
jline history file. I could not
2010/10/21 andrei andrei.zhabin...@gmail.com:
(defn test []
(let [transient-map (transient {})]
(doseq [i (range 100)]
(conj! transient-map {i (str i)} ))
(persistent! transient-map)))
I expect that it will produce:
{ 0 0, 1 1, 2 2, ..., 99 99}
but it gives only
2010/10/21 Brody Berg brodyb...@gmail.com:
(defn binary-search
Search sorted list for target using binary search technique
Binary search is only useful on indexed data types like Clojure Vectors.
([m_list target]
(if (empty? m_list)
false
(binary-search
Hi,
(defn sum [^ints arr]
(areduce arr i ret (int 0)
(unchecked-add-int ret (aget arr i
2010/10/18 Dmitriy S. samborsk...@yahoo.com:
(defn sum [arr]
(loop [i (int 0) s (int 0)]
(if (= i *N*) s
^^^
You still doing non-primitive ops here. Also Check for areduce:
2010/10/18 Dmitriy S. samborsk...@yahoo.com:
On Oct 18, 3:07 pm, Jürgen Hötzel juer...@hoetzel.info wrote:
(defn sum [arr]
(loop [i (int 0) s (int 0)]
(if (= i *N*) s
^^^
You still doing non-primitive ops here.
Indeed, I overlooked that.
But this was not the main cause
2010/10/18 Dmitriy S. samborsk...@yahoo.com:
On Oct 18, 5:46 pm, Jürgen Hötzel juer...@hoetzel.info wrote:
Note the difference between = and ==, = will result in a cast to
the wrapped types for it's arguments.
It seems that '=' is always slower than '==',
even if types are primitive, look
2010/10/1 Stefan Rohlfing stefan.rohlf...@gmail.com:
Dear Clojure Group,
I wanted to expand the 'infix' macro presented in chapter 7.3.1 of
'Clojure in Action' to handle nested s-expressions:
My first version did not work:
(defmacro my-infix [expr]
(if (coll? expr)
(let [ [left op
2010/6/11 Nathan Sorenson n...@sfu.ca:
Is there a way to fold over multiple sequences, in the same way that
'map' can apply a multi-parameter function over several seqs? In other
words, is there a function like this:
There is no need for a special purpose reduce* function.
Using destructing
2010/4/1 Mark Engelberg mark.engelb...@gmail.com:
printf doesn't seem to do anything inside a gen-class -main function, when
run from the executable jar program (compiled by the latest Netbeans
Enclojure release). Is this normal, and if so, what's the workaround?
The REPL flushes output after
Hi,
2010/3/10 Brian Hurt bhur...@gmail.com:
In a recent clojure:
user= (class 2147483647)
java.lang.Integer
user= (class (inc 2147483647))
java.math.BigInteger
upcasted to BigInteger because of overflow detection in IntegerOps,
even though a cast to Long would be sufficient. Also odd
20 matches
Mail list logo