Re: I've found a constellation of related bugs in primitive function support when type-hinting *return types*.

2016-08-09 Thread Sean Corfield
I can’t reproduce any of this on Clojure 1.9.0 Alpha 10 – it all works exactly as expected. On 8/9/16, 2:50 PM, "Fluid Dynamics" wrote: => (defn foo [x] (doto (double-array 1) (aset 0 x))) => [(foo 3.0) (type (foo 3.0))] [[3.0]

Re: Multi-OS Engine | Intel(R) Software

2016-08-09 Thread Colin Fleming
Looks like MOSE uses Android's ART (from https://software.intel.com/en-us/node/633226): Multi-OS Engine Runtime is based on the modern Android ART*, which is the > runtime component of Android that runs Java apps. > ART has a list of features that provide optimal performance for apps on > iOS

Re: I've found a constellation of related bugs in primitive function support when type-hinting *return types*.

2016-08-09 Thread Alex Miller
What Clojure version are you using? On Tuesday, August 9, 2016 at 5:01:21 PM UTC-5, Fluid Dynamics wrote: > > => (defn foo [x] (doto (double-array 1) (aset 0 x))) > => [(foo 3.0) (type (foo 3.0))] > [[3.0] [D] ; As expected, a double array with the value passed in. > ; Maybe a good idea to hint

Re: I've found a constellation of related bugs in primitive function support when type-hinting *return types*.

2016-08-09 Thread Timothy Baldridge
It's impossible to read what you've written here. Can you give us a minimum failing use case? Thanks. Timothy On Tue, Aug 9, 2016 at 3:50 PM, Fluid Dynamics wrote: > => (defn foo [x] (doto (double-array 1) (aset 0 x))) > => [(foo 3.0) (type (foo 3.0))] > [[3.0] [D] ; As

I've found a constellation of related bugs in primitive function support when type-hinting *return types*.

2016-08-09 Thread Fluid Dynamics
=> (defn foo [x] (doto (double-array 1) (aset 0 x))) => [(foo 3.0) (type (foo 3.0))] [[3.0] [D] ; As expected, a double array with the value passed in. ; Maybe a good idea to hint this function as always returning a double array. => (defn foo ^doubles [x] (doto (double-array 1) (aset 0 x)))

Re: Meta-data should be added to deprecated functions?

2016-08-09 Thread Dan Burton
> > The second is adding functionality to Clojure core to give you more > feedback about deprecated functions and that's something I've been trying > to push through to completion for Clojure 1.9. See: > http://dev.clojure.org/jira/browse/CLJ-706 Excited to see this being pushed for Clojure 1.9!

Re: Multi-OS Engine | Intel(R) Software

2016-08-09 Thread Raoul Duke
Whatever happened to Defrac, anyway? -- 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. To

Re: Meta-data should be added to deprecated functions?

2016-08-09 Thread Alex Miller
I've added the :deprecated metadata to core.async in https://github.com/clojure/core.async/commit/103359a11598b556ac21053977e7deda43cea535 On Tuesday, August 9, 2016 at 3:55:04 PM UTC-5, Ertuğrul Çetin wrote: > > That will be very useful. Can't wait :) > > On Tuesday, August 9, 2016 at 11:49:36

Re: Meta-data should be added to deprecated functions?

2016-08-09 Thread Ertuğrul Çetin
That will be very useful. Can't wait :) On Tuesday, August 9, 2016 at 11:49:36 PM UTC+3, Alex Miller wrote: > > There are really two aspects to this - one is actually including the > metadata in core.async, which can definitely be done. > > The second is adding functionality to Clojure core to

Re: Meta-data should be added to deprecated functions?

2016-08-09 Thread Alex Miller
There are really two aspects to this - one is actually including the metadata in core.async, which can definitely be done. The second is adding functionality to Clojure core to give you more feedback about deprecated functions and that's something I've been trying to push through to

Re: Multi-OS Engine | Intel(R) Software

2016-08-09 Thread Daniel Compton
Following up, it seems like it may be possible to use Clojure with MOSE, but it doesn’t look like a well worn path. Also, I suspect if you went down this route you may end up writing mostly Java in a funny domain specific language with lots of parentheses. All that being said, I’d be happy to be

Re: Multi-OS Engine | Intel(R) Software

2016-08-09 Thread Daniel Compton
I had a look at this a few weeks ago, and it seemed like it would only work with Java code, not JVM bytecode? Internal Overview: Multi-OS Engine facilitates Java* support on iOS* through - Auto Java binding generation from ObjectiveC and C header files from existing libraries or 3rd party

Meta-data should be added to deprecated functions?

2016-08-09 Thread Ertuğrul Çetin
I found the *map>* function from *core.async* and it was deprecated(doc says), but there is no meta-data. If we have meta-data for *deprecated* functions our tools(IDEs) would work better, like scratch out the function(Most IDEs do that). Ex: This (defn map> "." {:added "1.0"

[ANN Y combinator] Lambda Calculus: Interactive Y combinator running in the browser

2016-08-09 Thread Yehonathan Sharvit
http://blog.klipse.tech/lambda/2016/08/07/pure-y-combinator-clojure.html This article is an attempt to share in an interactive way, one of the most aesthetic idea of computer science: the Y combinator. The Y combinator

Re: can clojure java.jdbc function 'result-set-seq' add option tosupportcustom 'result-set-read-column' ?

2016-08-09 Thread Sean Corfield
I’m not clear what you’re suggesting those should do…? Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood On 8/8/16, 11:28 PM, "Isaac Zeng"

Re: ANN: diehard 0.3.0

2016-08-09 Thread Ning Sun
Thank you, Richard. I hope this library will be helpful to you. Feel free to report any issue you have with it. On 08/08/2016 11:37 AM, Richard Möhn wrote: > Great! I was just going go implement a primitive retry myself, when I > found this by chance. Thanks for contributing! > > -- > You

ANN: iapetos 0.1.0 - A Clojure Prometheus Client

2016-08-09 Thread Yannick Scherer
I'm pleased to announce the initial release of iapetos, a Prometheus [1] client for Clojure, wrapping the respective Java library [2]. Its main goal is to provide elegant access to the underlying functionality, as well as appropriate assistance when tackling common tasks in Clojure-land (like

Re: can clojure java.jdbc function 'result-set-seq' add option tosupportcustom 'result-set-read-column' ?

2016-08-09 Thread Isaac Zeng
That good suggestion @ Xiangtao Zhou I think we also can define customized reader/writer in `(create-table-ddl table spec)` ```clojure (create-table-ddl :user [[:name "VARCHAR(32)" {:read identity :wirte identity}]]) ``` On Monday, August 8, 2016 at 6:15:24 AM UTC+8, Sean Corfield wrote: > >