Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion defrecord with "inheritance"
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
David Nolen  
View profile  
 More options May 21 2012, 9:55 am
From: David Nolen <dnolen.li...@gmail.com>
Date: Mon, 21 May 2012 09:55:16 -0400
Local: Mon, May 21 2012 9:55 am
Subject: Re: defrecord with "inheritance"

On Mon, May 21, 2012 at 4:53 AM, nicolas.o...@gmail.com <

nicolas.o...@gmail.com> wrote:
> > ClojureScript? The work is done. It's all protocols.

> Hi David,

> I just have. This is a nice work. There is a lot of repetitions though.
> For example:
> - IEquiv
>  (-equiv [coll other] (equiv-sequential coll other))

> -   IHash
>  (-hash [coll] (caching-hash coll hash-coll __hash))
>  (where caching-hash has to be a macro)

> -  ICounted
>  (-count [coll] count)

> -  ILookup
>  (-lookup [coll k] (-nth coll k nil))
>  (-lookup [coll k not-found] (-nth coll k not-found))

And now any of those implementations can easily change at anytime without
any external considerations. So what's the problem?

David


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.