For a while now, the permutations function in the combinatorics library has
had special handling for lists with duplicate items.
Example: (permutations [1 2 3]) - ((1 2 3) (1 3 2) (2 1 3) (2 3 1) (3 1 2)
(3 2 1))
Example: (permutations [1 1 2]) - ((1 1 2) (1 2 1) (2 1 1))
The new release,
Hi,
At
http://en.wikibooks.org/wiki/Clojure_Programming/Tutorials_and_Tips#Invoking_Clojure_from_Java
, they use this clojure source file, from inside the classpath:
; foo.clj(ns user)
(defn foo [a b]
(str a b))
, to demonstrate this code for calling functions in a Clojure
Hi Vish,
Thanks for the feedback! It'd be possible to use metadata on objects, but
I don't think EDN supports it. I could swap out and use a different format
for saving data, but I find it very handy at least to keep things as EDN,
as I can then load the .edn file with other tools (i.e.
Hey Daniel,
I am too interested in this project. If by any chance there is an
alternative slot for this project, please do consider my case.
Regards,
Shubham
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
After update compilation with advanced optimizations displays following
warning:
WARNING:
file:/home/gnzh/.m2/repository/org/clojure/google-closure-library/0.0-20140718-946a7d39/google-closure-library-0.0-20140718-946a7d39.jar!/goog/net/jsonp.js:269:
WARNING - Misplaced f
unction annotation.
Dear all,
Given a node type from singly linked list:
class Node {
int val;
Node next;
}
How do I extend it so `(seq node)` will return a sequence of values? And
generally first, rest, and next will work on node too.
While in Java, we could define the class to implement
And stacktrace - looks like a piggieback issue:
core.clj: 4577 clojure.core/ex-info
analyzer.clj: 379 cljs.analyzer/error
analyzer.clj: 376 cljs.analyzer/error
analyzer.clj: 1249 cljs.analyzer/analyze-deps
+1 nippy
I have successfully used it in few of my projects.
2015-03-17 5:30 GMT+01:00 Lucas Bradstreet lucasbradstr...@gmail.com:
I have had a lot of success with nippy
https://github.com/ptaoussanis/nippy, which is quite well documented. We
had problems with fressian round tripping Clojure
Here is the error I am still getting when compiling a ns via piggieback 0.1.5
/weasel 0.6.0 on cljs 3123:
1. Unhandled clojure.lang.ExceptionInfo
No such namespace: cljsjs.react, could not locate cljsjs/react.cljs
at line 1
From now on, the experiments will tackle more practical issues and
will add completely new features to the language. There will be less
theory and more examples.
Experiment #7 - Data Formatters
A conversion between different data formats is a frequent operation
in many applications. Dunaj
I've been using stuartsierra's handy component library for a while now, but
I wanted an easier way of connecting components together.
To that end, I wrote oolong. The main mode of operation is to take an edn
configuration file and connect the specified systems and components.
On Thursday, March 12, 2015 at 10:16:10 AM UTC-5, Stuart Sierra wrote:
On Wednesday, March 11, 2015, Colin Yates wrote:
Nested systems don't really work.
FWIW, we've been using something that smells an awful lot like nested
systems for months now. I never realized we weren't supposed to.
Hi there,
My name is Suyash and I am currently studying Computer Science at IIT
Roorkee.
I wanted to have a more detailed discussion on the tool.reader node.js port
idea
http://dev.clojure.org/display/community/Project+Ideas#ProjectIdeas-toolsreadercljs
.
I have 2 main questions:
1. Is the
Hi James,
Do you have a code fragment/gist for the glue?
On 17 March 2015 at 17:47, James Gatannah james.gatan...@gmail.com wrote:
On Thursday, March 12, 2015 at 10:16:10 AM UTC-5, Stuart Sierra wrote:
On Wednesday, March 11, 2015, Colin Yates wrote:
Nested systems don't really work.
There is a position open in my department developing software
infrastructure (Clojure, Java, Perl, Bash on Linux systems) for an
embedded memory design team. Some background in circuit design and
EDA is helpful.
https://jobs3.netmedia1.com/cp/faces/job_summary?job_id=STG-0730448
-Aaron
--
You
Welcome,
I participated core.typed GSoC last year, and happy to see another Chinese
student interested in core.typed project, you may forward your email to
core.typed mail list[0], also you should first sign CA[1] (if you haven't)
before any of your patches get accepted by core.typed or any core
Thanks Niels, but what if a java class is not available for rewrite? Say, it is
from an external library.
—
Sent from Mailbox
On Tue, Mar 17, 2015 at 10:01 PM, Niels van Klaveren
niels.vanklave...@gmail.com wrote:
If a java class implements Iterable, it automatically supports seq.
On
Hello,
On Tue Mar 17 13:54 2015, Shubham Jain wrote:
Hey Daniel,
I am too interested in this project. If by any chance there is an
alternative slot for this project, please do consider my case.
Regards,
Shubham
We will most likely accept only one proposal for a given project. It is
On Tue Mar 17 09:28 2015, Devang Shah wrote:
Hello,
Now, to get familiar with the lein-droid and the ecosystem, I have gotten
clojure, lein-droid, and Android SDK on my machine.
Anything that you'd suggest so that I get more familiar with the entire
ecosystem and might be useful to
Hello all,
My name is Zhanlin Shang and I'd like to work with the core.typed
Annotations and Macros mentored by Ambrose Bonnaire-Sergeant this summer.
This is the first time for me to take part in this kind of event and I hope
this mailing list is the right place.
I'm a second year
2015-03-12 12:15 GMT+01:00 Jozef Wagner jozef.wag...@gmail.com:
Experiment #5: Reducers First
Wow! There are some great ideas on how to unify reducers with lazy-seq.
Have there yet been thoughts on how reduce-kv could fit in a reducer stack?
Obviously, the notion of a transducer could be
Just a quick look so far, but it looks pretty interesting. I'm working on a
multi-module project and I'd like to have the flexibility to run those
modules separately or together. Extracting the component structure out into
a config file could be pretty helpful in that regard. Nice work!
Andrew
If nothing else, the functions in oolong.util should be pretty handy for
manipulating them. Or can serve as a guide for manipulate them programmatically.
I’m working on a bunch of complementary stuff to this at present, including a
library for developing components on top of oolong that will
Yes I said earlier that you'll want SNAPSHOT releases of both weasel and
piggieback. The current release of piggieback doesn't include this commit
https://github.com/cemerick/piggieback/commit/966c811ab817df0e818404943c473081337b286e
In the case of weasel you might want to try a local install of
We bumped the Closure Compiler dependency which now spews a few innocuous
warnings. Feel free to report this one to the Google Closure mailing list.
I've already reported the Object type one we get now when using browser
REPL.
David
On Tue, Mar 17, 2015 at 5:46 AM, Max Gonzih gon...@gmail.com
Hi,
I've played around with core.async a bit but now I'm trying to use it for a
real project and I'm running into a problem getting data off a file and
into a channel on the JVM (i.e. as opposed to ClojureScript)
I have around 1GB of data sitting in a file. Each line of the file
contains a
If a java class implements Iterable, it automatically supports seq.
On Tuesday, March 17, 2015 at 11:34:17 AM UTC+1, juvenn wrote:
Dear all,
Given a node type from singly linked list:
class Node {
int val;
Node next;
}
How do I extend it so `(seq node)` will return a sequence of
Hello, all,
As of yesterday, the period for students to start applying to mentoring
organisations. This will continue through 27 March 19:00 UTC. We have
already started receiving applications and started seeing some
discussion on the mailing list, and that's great news.
For those of you
Hi Christopher,
I'm Francesco, the maintainer of crossclj.info
I think it's a very interesting project. Some comments on your proposal:
1) I think the information model is by far most important deliverable. I
agree with Reid that a sound coordinate system is very important
2) The toolchain
Hey all,
Responding here to several things from both Reid and Francesco. I wanted to
step back slightly to set some context. I proposed the project that Chris
has posted and some of the points that Reid brought up are really source
from my proposal so I wanted to take the blame as it were for
I'm answering these out of order, sorry. :)
On Tuesday, March 17, 2015 at 12:40:53 AM UTC-5, Reid McKenzie wrote:
Hey Christopher,
I'm Reid, the Grimoire maintainer.
I'm delighted to see that someone besides myself and Alex is interested in
this project and I wish you the best in your GSoC
Hello,
On Tuesday, March 10, 2015 at 8:12:38 PM UTC-7, Daniel Solano Gómez wrote:
Hello,
On Tue Mar 10 01:30 2015, Devang Shah wrote:
Hello Daniel
Thank you for the quick response. Just to clarify and see if my
understanding is correct. Please correct if I am wrong.
On
Thanks :)
On Tuesday, March 17, 2015 at 12:41:56 PM UTC+1, David Nolen wrote:
Yes I said earlier that you'll want SNAPSHOT releases of both weasel and
piggieback. The current release of piggieback doesn't include this commit
Hi,
Thanks for replying, I've signed the CA and forwarded this post to the
core.typed mailing list.
Can you tell me what should I do for now?
Thanks,
Z.Shang
On Tuesday, March 17, 2015 at 5:49:34 PM UTC-7, Di Xu wrote:
Welcome,
I participated core.typed GSoC last year, and happy to see
Yes and yes. In Dunaj this is called the unpacked reduction, and there is
IUnpackedRed protocol that is used by coll implementations to provide
reduce-kv like functionality. Please see this example on how Dunaj handles
reductions with 2 arguments. No intermediate tuples are created when using
35 matches
Mail list logo