nstruction in the clojure "world".
>
> On Monday, June 3, 2019 at 8:04:57 PM UTC-4, Tom Hicks wrote:
>>
>> Hi Kyle,
>>
>> My memory is that Peter and Tony started 1060 Research almost 20 years
>> ago. They used to publish a fairly frequent em
Hi Kyle,
My memory is that Peter and Tony started 1060 Research almost 20 years ago.
They used to publish a fairly frequent email newsletter (
http://wiki.netkernel.org/wink/wiki/NetKernel/News/) about their activities
but I haven't seen a newsletter from them in over a year and a half.
I
typo: try https://github.com/clojure/data.codec
On Oct 10, 6:31 pm, Alexander Taggart m...@ataggart.ca wrote:
Base64 decoding support has been added.
http://github.com/ataggart/clojure.data.codec
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To
Sortof, but not as concisely, since the op is repeated each time:
(- m (nth 2) (nth 2) (nth 1))
-tom
On Jun 29, 4:20 pm, Antonio Recio amdx6...@gmail.com wrote:
(get-in m [2 2 1]) is great! Which are the others ones? Is there something
like (- m [2 2 1])?
--
You received this message
:dev-dependencies [[swank-clojure 1.2.1]])
I think this is an outdated dependency. I got it to work with 1.4.0-
SNAPSHOT.
(1.2.1 is, of course, the latest stable clojure.jar version, so this
might have
been a typo from your previous experiments).
good luck -t
On May 22, 1:53 am, dokondr
But note that Larry's extra quote came directly from the
documentation page he links to.
On May 21, 8:56 am, David Nolen dnolen.li...@gmail.com wrote:
On Sat, May 21, 2011 at 11:46 AM, larry larrye2...@gmail.com wrote:
Let's say you're a new user and you want to split a string on a
Where does one get clojure-mode 1.9.1? The latest I see on github is
1.7.1.
On May 20, 4:06 pm, Phil Hagelberg p...@hagelb.org wrote:
On May 19, 11:15 pm, Tassilo Horn tass...@member.fsf.org wrote:
Do I get you right that the output is the problem that prevents me to
get to the SLIME REPL,
Thanks Benny! That was the problem and the new simplified setup
just worked for me. -t
On May 21, 5:51 pm, Benny Tsai benny.t...@gmail.com wrote:
You can grab it here:
https://github.com/technomancy/clojure-mode
On Saturday, May 21, 2011 6:41:18 PM UTC-6, Tom Hicks wrote:
Where does one
You mentioned you were on the Mac, so you can reduce your round-
about
using the pbcopy tool on the command line, as follows:
% pygmentize -f rtf swing-ex.clj | pbcopy -Prefer rtf
(Now, inside Keynote, just paste).
pbcopy and pbpaste are very useful tools to become familiar with.
cheers,
Worked great for meThanks Stuart for wrestling with the dragon.
I've created and shared a couple of simple issue filters to get issue-
browsers started. Search for them under managing filters section.
cheers,
-tom
On Oct 27, 6:07 pm, Stuart Halloway stuart.hallo...@gmail.com wrote:
On Sep 12, 10:44 pm, Meikel Brandmeyer m...@kotka.de wrote:
Hi,
On 13 Sep., 04:30, Robert McIntyre r...@mit.edu wrote:
Unless there's a good reason for :or to work the way it does I think
that would be a good idea, since then you can define default maps
somewhere else and use those both
I just noticed this unexpected result for Map destructuring with an
quote:or/quote directive:
pre
user= (def guys-name-map {:f-name Guy :l-name
Steele})
#'user/guys-name-map
user= (let [{:keys [f-name m-name l-name] :or {:m-name CL}} guys-
name-map] (str l-name , f-name + m-name))
Steele, Guy+
PDF of slides from my presentation at a recent Tucson JUG:
http://tinyurl.com/yjrnh55
(licensed as Creative Commons Attribution-Noncommercial). If you need
the
Powerpoint email me.
regards,
-tom
On Mar 3, 8:58 pm, Wilson MacGyver wmacgy...@gmail.com wrote:
Looks like I'll be doing a talk
The one with a zipper is the slowest, zippers being much more capable
than just walking data structure, so it's normal. The first lazy
version is more than five faster and the one using Tom Hicks lazy-walk
function is slightly faster.
- budu
--
You received this message because you
On Jan 15, 1:44 pm, Nicolas Buduroi nbudu...@gmail.com wrote:
On Jan 15, 3:25 pm, Sean Devlin francoisdev...@gmail.com wrote:
Did you try wrapping everything w/ a call to lazy-seq?
Yes, it doesn't seem change anything.
I suspect that just wrapping everything in a call to lazy-seq cannot
Sorry, I forgot to ask: how rapid is rapidly?
Can you provide a simple example that rapidly blows the stack
so we can experiment with lazy solutions?
-tom
On Jan 15, 1:21 pm, Nicolas Buduroi nbudu...@gmail.com wrote:
But it blow up the stack quite rapidly, ...
...
- budu
--
You
On Jan 15, 1:21 pm, Nicolas Buduroi nbudu...@gmail.com wrote:
Hi, I'm still not familiar with laziness and I'm trying to make a
function recursively walk arbitrary data structures to perform some
action on all strings. The non-lazy version is quite easy to do:
(use
'clojure.walk
On Jan 3, 9:22 pm, Timothy Pratley timothyprat...@gmail.com wrote:
2010/1/4 Tom Hicks hickstoh...@gmail.com:
All the other code is there to parallel the functionality in 'subvec'.
Ah right, I see what you mean.
Calling count in the two argument form will realize the entire
sequence
A couple weeks ago Sean Devlin posted a blog entry asking for thoughts
on
new sequence functions (and posting many useful proposed functions
himself).
http://fulldisclojure.blogspot.com/2009/12/new-seq-utilities.html
I searched for, but didn't find, a parallel posting in this forum
(even though
Have you looked at Neo4J? I have no experience with it but
someone in the forum just announced a Clojure wrapper for it:
http://groups.google.com/group/clojure/browse_thread/thread/9628c622784ff45a#
cheers,
-t
On Jan 1, 2:07 pm, Julian Morrison julian.morri...@gmail.com wrote:
I've just
On Jan 3, 7:06 pm, Timothy Pratley timothyprat...@gmail.com wrote:
2010/1/4 Tom Hicks hickstoh...@gmail.com:
Comments and code review welcome
Hi Tom,
Some interesting additions. Regarding sub-sequence it might also be
written like so:
(defn subseq2
[coll start end]
(take (- end
Depending how you're starting the REPL, it looks like there is also
a command line option. Here's parts of the doc string from the main fn
in src/clj/clojure/main.clj (version 1.0.0):
(defn main
Usage: java -cp clojure.jar clojure.main [init-opt*] [main-opt]
[arg*]
With no options or args,
A technique that works for me is to create sequences which are
augmented
with properties and then filter and transform those sequences in a
kind of pipeline.
Using that approach I came up with the following:
(defn eval-candidate [needle candidate]
Returns a map representing derived information
On a related note, can someone explain the following...
I can define a function 'p1':
user= (defn p1 [x] (+ 1 x))
#'user/p1
user= (p1 44)
45
and then shadow it within the binding construct:
user= (binding [p1 (fn [y] (+ 2 y))] (p1 44))
46
but, I can't seem to do this with the 'inc' function:
On Dec 24, 6:01 pm, Richard Newman holyg...@gmail.com wrote:
but, I can't seem to do this with the 'inc' function:
user= (binding [inc (fn [y] (+ 2 y))] (inc 44))
45
Why doesn't this work?
Because inc is inlined, and thus isn't mentioned when your binding
occurs.
Thanks
A slight modification, which I think avoids counting each collection
twice:
(defn append-val [val colls]
(let [lengths (map count colls)
maxlen (apply max lengths)]
(map #(concat %1 (repeat (- maxlen %2) val)) colls lengths)
)
)
On Dec 23, 10:30 am, kyle smith
in it as well.
Thanks!
Roman
2009/10/28 Tony Butterfield t...@1060.org:
Tom Hicks has just pointed me to an old thread which answers
questions about namespaces and isolation. Let me read and
absorb all that work first - I suspect it answers a lot of my
questions.
Cheers, Tony
This destructuring on sequences works:
user= (let [[:as m] [1 2]] m)
[1 2]
but this one on associations doesn't (and it seems like it should):
user= (let [{:as m} {:b 1 :c 2}] m)
java.lang.NullPointerException
clojure.lang.Compiler$CompilerException: NO_SOURCE_FILE:14: null
..
Is there a
28 matches
Mail list logo