Re: ArithmeticException while using unchecked-multiply

2015-10-24 Thread Andy Fingerhut
I can't answer whether Clojure should do that. It is doing it because unchecked-multiply falls back to normal multiply, i.e. *, unless both of its arguments are primitive long values. Even boxed Long values cause it to fall back to the behavior of *. The same goes for unchecked-add and

Re: ArithmeticException while using unchecked-multiply

2015-10-24 Thread Gary Fredericks
I once set out to make a ticket for it, but ended up not probably because it was going to take too much effort to describe or something. I was probably busy. On Saturday, October 24, 2015 at 7:01:05 PM UTC-5, Gary Fredericks wrote: > > I've always thought this is bad behavior, since it's

Re: ArithmeticException while using unchecked-multiply

2015-10-24 Thread Gary Fredericks
I've always thought this is bad behavior, since it's blatantly doing the opposite of what the name advertises. I think either the boxed versions should return the same result as the unboxed version, or (if the whole point is to give good performance and so we don't want want users to be able

{{ANN}} defun 0.3.0-alapha: supports clojurescript

2015-10-24 Thread dennis zhuang
defun is a macro to define clojure functions with parameter pattern matching just like erlang or elixir based on core.match. https://github.com/killme2008/defun Thanks to sander dijkhuis , it supports clojurescript right now. You

Re: Libraries for dealing with DNS

2015-10-24 Thread Asim Jalis
Hi Kyle, DNSJava is a stable implementation of DNS in Java. http://www.dnsjava.org/ Here is the JavaDoc for doing DNS lookups: http://www.dnsjava.org/doc/org/xbill/DNS/Lookup.html Asim On Tue, Sep 15, 2015 at 3:34 PM, Kyle Sexton wrote: > Does anyone have a recommendation