Re: Bizarre issue when calling protocol-fn wrapper from different namespace

2019-11-21 Thread Justin Smith
on rereading I've clearly misunderstood you, I think we need to see actual code reproducing this error in order to know what failed here On Thu, Nov 21, 2019 at 3:42 PM Justin Smith wrote: > > there is no foo/x unless you defined one - the protocol function is > created by defprotocol and is not

Re: Bizarre issue when calling protocol-fn wrapper from different namespace

2019-11-21 Thread Justin Smith
there is no foo/x unless you defined one - the protocol function is created by defprotocol and is not owned by the object implementing the protocol On Thu, Nov 21, 2019 at 3:29 PM Dimitrios Jim Piliouras wrote: > > But the call-chain is api/x-with-foo => foo/x => proto/X so it does bottom > out

Re: Bizarre issue when calling protocol-fn wrapper from different namespace

2019-11-21 Thread Dimitrios Jim Piliouras
But the call-chain is api/x-with-foo => foo/x => proto/X so it does bottom out in the ns the protocol was defined in. It's just that the middle step could come from 3 different namespaces all containing protocol extensions. On Thu, 21 Nov 2019, 23:03 Justin Smith, wrote: > it might be helpful

Re: Bizarre issue when calling protocol-fn wrapper from different namespace

2019-11-21 Thread Justin Smith
it might be helpful to consider that in the jvm methods are not data, and the proto function makes the method into concrete data belongs to the namespace that owns the protocol On Thu, Nov 21, 2019 at 2:58 PM Justin Smith wrote: > > if you define proto method x, it belongs to the protocol

Re: Bizarre issue when calling protocol-fn wrapper from different namespace

2019-11-21 Thread Justin Smith
if you define proto method x, it belongs to the protocol namespace no matter where it is called, and calling it as if it belonged to the namespace defining the object extending the protocol will and should fail On Thu, Nov 21, 2019 at 1:57 PM Dimitrios Jim Piliouras wrote: > > Hi folks, > > This

Bizarre issue when calling protocol-fn wrapper from different namespace

2019-11-21 Thread Dimitrios Jim Piliouras
Hi folks, This has me completely stumped - I would massively appreciate a helping hand! Suppose the following simple directory structure: — someProject.impl.{foo.clj, bar.clj,baz.clj} — someProject.proto.clj — someProject.api.clj `proto.clj` contains a single protocol with two methods - let’s

Software Engineer with clojure experience is wanted

2019-11-21 Thread Sajo Beqaj
Medical Database, Inc, in Irvine, CA has open position for Software Engineer with clojure programming language experience. *Job Description * - Architect, design, and code new features and enhancements of a complex medical database algorithm-based software as needed -

7th International Conference on Computer Science and Information Technology (CoSIT 2020) /January 25 ~ 26, 2020, Zurich, Switzerland

2019-11-21 Thread jin soo
*7**th** International Conference on Computer Science and Information Technology (CoSIT 2020)* *January 25 ~ 26, 2020, Zurich, Switzerland* *https://cosit2020.org/* *Scope & Topics* *7**th** International Conference on Computer Science and Information