Re: [ANN]: clambda 0.1.4 - reducible Java Streams

2018-08-11 Thread Andrew Oberstar
ys returning > nil. For the Stream around a seq case, you need to ditch 'iterator-seq', > and implement something splitable. See my SeqSpliterator deftype... > > Hope that helps  > > Excuse my brevity - Sent from my phone > Dimitris > > > On Fri, 10 Aug 2018, 00:09 Andrew Oberstar,

Re: [ANN]: clambda 0.1.4 - reducible Java Streams

2018-08-09 Thread Andrew Oberstar
. Is the missing piece to support parallel the combine function? Andrew Oberstar On Thu, Aug 9, 2018 at 11:05 AM dimitris wrote: > Damn! Here is the correct link: > > https://github.com/jimpil/clambda > > On 09/08/18 17:03, dimitris wrote: > > Hi folks, > > https://githu

[ANN] gradle-clojure 0.4.0 (adding ClojureScript support)

2018-07-01 Thread Andrew Oberstar
org/c/projects/gradle-clojure> or the #gradle Clojurian's Slack channel <http://clojurians.net>. Thanks to Colin Fleming for the initial code and Piotrek Bzdyl for his contributions (most notably the first cut of this ClojureScript support)! Andrew Oberstar -- You received this mess

Re: 1.9 is close to 2.0...

2017-12-28 Thread Andrew Oberstar
I would expect 1.10 is next. Andrew Oberstar On Thu, Dec 28, 2017 at 4:58 PM Jacob Goodson <submissionfight...@gmx.com> wrote: > Now that clojure 1.9 is out, will future releases be 1.91, 1.92, etc? > > Or, are talks in place for a clojure 2.0? > > If there is discussion

Re: [ANN] Lightmod, an all-in-one tool for full stack Clojure

2017-11-04 Thread Andrew Oberstar
This is really cool! Nice job! Andrew Oberstar On Sat, Nov 4, 2017 at 12:50 PM Zach Oakes <zsoa...@gmail.com> wrote: > Today I'm releasing a new tool that lets you make full stack Clojure web > apps without any build tools or even any system-wide JDK install. It runs > everyt

Re: Two suggestions re: core.spec, `ns`, and clojure 1.9alpha11

2016-08-20 Thread Andrew Oberstar
What about a compromise where you could opt-in or opt-out of checking macro specs at compile time (via a compiler option)? It seems worth preserving the correctness of the spec, without forcing all of the breakage. Andrew Oberstar On Sat, Aug 20, 2016 at 9:13 PM Colin Fleming <colin.maili

Re: Idea: standardised way of packaging docs inside jar

2016-05-31 Thread Andrew Oberstar
Not very familiar with it, but is the Grenada/datadoc project along the lines you were thinking? I think that was a Google Summer of Code project last year. Andrew Oberstar On Tue, May 31, 2016, 5:37 AM Arnout Roemers <goo...@company.romeinszoon.nl> wrote: > Hi all, > > This

Re: Add support for seq on Java streams?

2016-02-24 Thread Andrew Oberstar
If you want to use reduce or transducers on a stream, you could take a look at ike.cljj (shameless plug). Depending on your use case, it might not provide a lot of benefit over Gary's suggestion. https://github.com/ike-tools/ike.cljj Andrew Oberstar On Wed, Feb 24, 2016 at 7:07 AM <67

Re: [ANN] Graclj 0.1.0 -- New Gradle Plugin for Clojure

2016-02-15 Thread Andrew Oberstar
stic icon > based on this: https://en.wikipedia.org/wiki/Common_grackle > > > On Sunday, February 14, 2016 at 8:11:00 PM UTC-6, Andrew Oberstar wrote: >> >> I just released the first version of Graclj, which is a new Gradle plugin >> for Clojure. The goal is to mak

[ANN] Graclj 0.1.0 -- New Gradle Plugin for Clojure

2016-02-14 Thread Andrew Oberstar
through the learning-graclj repo. I'd welcome any feedback on the plugin or documentation. Source: https://github.com/graclj/graclj Documentation: https://github.com/graclj/learning-graclj/tree/learning-0.1.0 Thanks, Andrew Oberstar -- You received this message because you are subscribed

Re: Clojure bootstrap, what am I missing here?

2015-09-02 Thread Andrew Oberstar
That's great! Andrew Oberstar On Tue, Sep 1, 2015, 11:25 PM Patrick Gombert <patrickgomb...@gmail.com> wrote: > There is an effort underway to port the stdlib to clojure named > clojure.core <https://github.com/mylesmegyesi/clojure.core>. The idea is > to eventually t

[ANN] ike.cljj 0.2.2

2015-08-25 Thread Andrew Oberstar
://github.com/ike-tools/ike.cljj Andrew Oberstar -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post

[ANN] ike.cljj 0.1.0

2015-08-12 Thread Andrew Oberstar
of the java.util.function ones). * Wrappers for java.lang.invoke (MethodHandles API) since it was used for the SAM conversion. Any feedback is welcome. Thanks! Andrew Oberstar -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure

Re: Clojure beyond Java 6 ?

2015-08-08 Thread Andrew Oberstar
to the JVM's past for the long-term. Andrew Oberstar On Fri, Aug 7, 2015 at 7:12 AM Morten Christensen m...@41concepts.com wrote: I am new to Clojure which I am evaluating using Clojure for a Java 8 based framework with code in clojure, java and possibly other jvm based languages that all need

Re: Java 8 Lambda Interop

2015-07-28 Thread Andrew Oberstar
. If that is the case, it seems like a beneficial thing to support in Clojure. Though it depends on the impact to the compiler. I can see the argument either way. Andrew Oberstar On Mon, Jul 27, 2015 at 9:49 PM Sean Corfield s...@corfield.org wrote: I think Mike was suggesting something like this: (- (IntStream

Re: Java 8 Lambda Interop

2015-07-27 Thread Andrew Oberstar
as second-class citizens for interop. Granted, there may be a simplicity argument against this (maybe that's why Java varargs require an explicit array?). Andrew Oberstar On Mon, Jul 27, 2015 at 4:16 AM Gary Verhaegen gary.verhae...@gmail.com wrote: On Sunday, 26 July 2015, Andrew Oberstar ajobers

Re: Java 8 Lambda Interop

2015-07-27 Thread Andrew Oberstar
something implementing a single-method-interface (Predicate in this case). Right now I need to do something like this: (defn lambda [f] (reify Predicate (test [x] (f x (- (IntStream/range 0 100) (.filter (lambda odd?)) (.limit 5) (.collect Collectors/toList)) Andrew Oberstar On Mon, Jul 27, 2015

Re: [ANN] Demo of the Holy Grail workflow

2015-05-23 Thread Andrew Oberstar
I can play the video, but there's no sound. Looks interesting though. Andrew Oberstar On Fri, May 22, 2015 at 3:06 PM Daniel Szmulewicz daniel.szmulew...@gmail.com wrote: Sorry about that. Some countries are prevented from watching this video on Youtube. I've uploaded the video on Vimeo

Re: [ANN] Demo of the Holy Grail workflow

2015-05-23 Thread Andrew Oberstar
Silly me, my computer was muted... I'll watch it again. On Sat, May 23, 2015 at 8:27 AM Andrew Oberstar ajobers...@gmail.com wrote: I can play the video, but there's no sound. Looks interesting though. Andrew Oberstar On Fri, May 22, 2015 at 3:06 PM Daniel Szmulewicz daniel.szmulew

Re: Announcing oolong: a config-based glue for `component`

2015-03-17 Thread Andrew Oberstar
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

Easier Idempotent Component Lifecycles?

2015-03-15 Thread Andrew Oberstar
suited to an issue/pr on his repository, but I wanted to see if there were any comments from the community. Is there a better way to do this? Andrew Oberstar -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure

Re: Easier Idempotent Component Lifecycles?

2015-03-15 Thread Andrew Oberstar
inheritance. Is that the more general Clojure approach to reach for when an OO-programmer would usually reach for an abstract class? Andrew Oberstar On Sun, Mar 15, 2015 at 1:36 PM Andrew Oberstar ajobers...@gmail.com wrote: Sure, that makes sense. I'll give that a go along with a few other ideas

Re: Easier Idempotent Component Lifecycles?

2015-03-15 Thread Andrew Oberstar
may be the key piece for implementing something like the LifecycleStatus solution in my original email without requiring any change to component itself. The big weakness is that it would require using a custom start-system stop-system function rather than the standard one. Andrew Oberstar On Sun

Re: Easier Idempotent Component Lifecycles?

2015-03-15 Thread Andrew Oberstar
Sure, that makes sense. I'll give that a go along with a few other ideas, and see what works out best. Thanks for the help! Andrew Oberstar On Sun, Mar 15, 2015 at 1:22 PM Colin Yates colin.ya...@gmail.com wrote: I don't have one at hand (as I literally wrote my first macro last week

Re: a nicer way to write 1 - 2 + 3 - 4 ... +/- n

2014-11-14 Thread Andrew Oberstar
How about this? (defn cyclefn [ fs] (let [fcycle (cycle fs) rem-fs (atom fcycle)] (fn [ args] (let [f (first @rem-fs)] (swap! rem-fs rest) (apply f args) (reduce (cyclefn + -) (range 1 100)) cyclefn could be used to cycle through any set of functions

[ANN] ike.tk.httpkit 0.1.0 - Trapperkeeper service for http-kit

2014-10-11 Thread Andrew Oberstar
, including a sample app below: https://github.com/ike-tools/ike.tk.httpkit Andrew Oberstar -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated