I once worked with a Clojure dev who had a note stuck to his monitor with
the words 'Have you tried lein clean?'. :)
On Thursday, 16 May 2013 11:56:58 UTC+1, Joachim De Beule wrote:
>
> Just a small follow up in case somebody else hits the same problems: they
> disappear after a "lein clean"...
Thanks for following up, Joachim. I spent about 6 hours on this before
reading your resolution.
On Thursday, May 16, 2013 5:56:58 AM UTC-5, Joachim De Beule wrote:
>
> Just a small follow up in case somebody else hits the same problems: they
> disappear after a "lein clean"...
>
> Op vrijdag 1
Just a small follow up in case somebody else hits the same problems: they
disappear after a "lein clean"...
Op vrijdag 1 maart 2013 17:52:36 UTC+1 schreef Jim foo.bar het volgende:
>
> On 01/03/13 16:17, Joachim De Beule wrote:
> > I'm not sure what you mean. I am not changing between namespace
On 01/03/13 16:17, Joachim De Beule wrote:
I'm not sure what you mean. I am not changing between namespaces in
this last example, only trying to delete a slot from a record
definition and create a record according to the new definition
subsequently. The problem occurs even when I do a C-c C-k
The problem is precisely that I cannot create *novel* instances after
redefining the record, apparently because it tries to initialise them
according to the old definition.
2013/3/1 Neale Swinnerton
>
> On Fri, Mar 1, 2013 at 3:44 PM, Joachim De Beule <
> joachim.de.be...@gmail.com> wrote:
>
>>
On Fri, Mar 1, 2013 at 3:44 PM, Joachim De Beule wrote:
> Here is another (real) example:
>
> When I change the number of slots in a record, e.g. from
>
> (defrecord MyRecord [slot1 slot2] ...)
>
> to
>
> (defrecord Myrecord [slot1] ...)
>
>
>
Are you remembering to recreate the *instances* of th
On 01/03/13 15:44, Joachim De Beule wrote:
When I change the number of slots in a record, e.g. from
(defrecord MyRecord [slot1 slot2] ...)
to
(defrecord Myrecord [slot1] ...)
are you reloading the namespace between these steps?
Jim
--
--
You received this message because you are subscribe
Here is another (real) example:
When I change the number of slots in a record, e.g. from
(defrecord MyRecord [slot1 slot2] ...)
to
(defrecord Myrecord [slot1] ...)
and then call (MyRecord. :foo), clojure complains with "NoSuchMethodError
MyRecord.(Ljava/lang/Object;)
Then when I simply rena
Oops, sorry again, this last problem was just a stupid mistake, pls ignore
it (I guess I'm not just getting annoyed but also a bit too suspicious)
Op woensdag 27 februari 2013 23:53:46 UTC+1 schreef Joachim De Beule het
volgende:
>
> (At the end of my previous update, I mean namespaces 1, 2 and
(At the end of my previous update, I mean namespaces 1, 2 and 3 instead of
A, B and C. Sorry for that ...)
Op woensdag 27 februari 2013 23:49:42 UTC+1 schreef Joachim De Beule het
volgende:
>
> Hi Jim,
>
> I'm sorry I can't really be more specific. I tried to duplicate the
> problems with a few
Hi Jim,
I'm sorry I can't really be more specific. I tried to duplicate the
problems with a few simple steps, but they only seem to turn when things
get complicates, e.g. involve different namespaces etc. I now even
encountered a third problem which I think is related to the other two
because
I'm not sure I fully understand the problem but I'll do my best to guess...
1) are you sure you're using the protocol or are you actually trying to
define a method in the interface that the protocol generates? Try fully
qualifying the name of you protocol at the extension point...
2)Do your p
Hi all,
I'm doing interactive development with emacs+clojure-mode+nrepl and I'm
experiencing some seriously annoying problems with protocols and records
implementing the protocols:
1) When I redefine a protocol by adding a method to it, and then
re-implement a record according in accordance to th
13 matches
Mail list logo