[JOB] Senior Engineer at Suiteness - remote possible

2017-04-17 Thread Brave Clojure Jobs
"Suiteness is looking for an experienced Clojure developer to join our 
small but passionate development team. Our ideal candidate is someone who 
geeks out over data storage and transformations, loves the functional 
paradigm, and wants to have a deep impact at a funded startup. Our team is 
small and individual contributions make a huge difference. This position 
reports to our co-founder and CTO Stephen Caudill."

Find out 
more: 
https://jobs.braveclojure.com/jobs/17592186046246/senior-engineer-suiteness-inc

-- 
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 unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: static fields in gen-class

2017-04-17 Thread Mars0i
You can just define a variable with def in the file containing gen-class.  
gen-class won't help with this; it's just regular Clojure functionality:

(def CLASSNAME "MyClass")

That variable will be specific to the generated class, and public at least 
in the sense that it can be accessed in Clojure from outside the 
namespace.  However, I'm not certain whether a Java class will be willing 
to access it by MyClass.CLASSNAME, if that's what you need.  You can try it 
and see whether it works.   I've used gen-class a but, I've never had to 
define a static field for use by Java classes.

You can certainly define static methods, so if it would work to simply let 
Java get the value of CLASSNAME using an accessor method, you can do that 
using :methods in gen-class.  I haven't done this, but the gen-class 
docstring gives a tip about how to do it.  you'll then have to define a 
function to implement the accessor outside of gen-class, named e.g. 
"-getCLASSNAME" for an accessor that Java will see as "getCLASSNAME".  (You 
probably know that already.)

On Sunday, April 16, 2017 at 1:43:17 AM UTC-5, lambda-knight wrote:
>
> Hi,
>
> I am re-writing a Java class in Clojure using gen-class which is 
> accessible from Java.
> The class has a static field.  Let's assume a Java class as follow:
>
> public class MyClass {
>public static final String CLASSNAME   = "MyClass";
>private String name;
>private int value;
>
> public MyClass() {}
>
> public String getName() {
>   return this.name;
>}
>public void setName(final String name) {
>  this.name = name;
>}
>public int getValue() {
>   return this.value;
>}
>public void setValue(final int value) {
>  this.value = value;
>}
> }
>
> Can I define a such field in Clojure ?
>
> Thanks,
>

-- 
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 unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Has anyone tried building ClojureCLR using dontnet core on non-windows platforms?

2017-04-17 Thread Kashyap CK
Hi,
I am attempting to build ClojureCLR on Mac- I was wondering if anyone's 
already done this.
Regards,
Kashyap

-- 
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 unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Has anyone tried building ClojureCLR using dontnet core on non-windows platforms?

2017-04-17 Thread Alex Miller
Just FYI, might also want to ask 
on https://groups.google.com/forum/#!forum/clojure-clr

On Monday, April 17, 2017 at 1:15:10 PM UTC-5, Kashyap CK wrote:
>
> Hi,
> I am attempting to build ClojureCLR on Mac- I was wondering if anyone's 
> already done this.
> Regards,
> Kashyap
>

-- 
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 unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN and RFC] Bifurcan: impure functional data strucures

2017-04-17 Thread Dave Dixon
What is the issue with wrapping in Clojure interfaces? Added overhead of 
function calls?

I'm finding myself in the process of doing some of this, at least for 
constructors. Also thinking of generating predicates/generators for use 
with spec.

On Monday, March 27, 2017 at 9:51:46 AM UTC-7, Zach Tellman wrote:

> This is a slightly irregular announcement, because it's not for a Clojure 
> library.  Rather, it's for a library written purely in Java: 
> https://github.com/lacuna/bifurcan.
>
> This is a collection of mutable and immutable data structures, designed to 
> address some of my personal frustrations with what's available in the 
> Clojure and Java ecosystems.  Notably, they have pluggable equality 
> semantics, so while they *can* use Clojure's expensive hash and equality 
> checks, they don't *have* to.  They also provide high-performance mutable 
> variants of the data structure which share an API with their immutable 
> cousins.  
>
> I'm posting it here to ask for people's thoughts on how, if at all, this 
> should be exposed as a Clojure library.  It would be simple to simply wrap 
> them in the Clojure interfaces and make them behave identically to 
> Clojure's own data structures, but that kind of obviates the point. 
>  However, creating an entirely new set of accessors means that we can't 
> leverage Clojure's standard library.
>
> It's possible that I'm alone in my frustrations, and no Clojure wrapper is 
> necessary.  But if this does solve a problem you have, I'd like to hear 
> more about what it is, and how you think Bifurcan might help.  Please feel 
> free to reply here, or to grab me at Clojure/West and talk about it there.
>
> Thanks in advance,
> Zach
>

-- 
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 unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Has anyone tried building ClojureCLR using dontnet core on non-windows platforms?

2017-04-17 Thread Alan Moore
Arcadia is a project that uses ClojureCLR in Unity and I've run it on macOS so 
you should be ok. However, I don't compile any code outside of Arcadia so maybe 
they've done something specific in that project to enable its operation 
(precompiled binaries?)

Alan

-- 
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 unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.