[Mono-devel-list] PATCH : Some generics IComparable implementations

Ewen Cheslack-Postava echeslack at gmail.com
Tue Jul 20 09:54:10 EDT 2004


Hi Martin,

It wasn't that much work so it's not a big deal if it doesn't get in.

I saw the bug, but it wasn't clear that you had done it yet.  I saw in
cvs that IComparable<T> was implemented for a lot of the basic types
but not all, so I thought somebody might have added them as they
needed them.

Also, I know things are still in transition, but its hard to tell what
is going on from the class status page because it seems like even
though a bunch of generics are implemented in cvs, all generics stuff
show up as unimplemented.

Thanks,
Ewen Cheslack-Postava

On Tue, 20 Jul 2004 08:50:06 +0200, Martin Baulig <martin at ximian.com> wrote:
> On Sun, 2004-07-18 at 19:29 -0400, Ewen Cheslack-Postava wrote:
> 
> > I decided to try doing some work on generic classes and to start out I
> > implemented some of the missing IComparable<T>'s in the corlib.
> > Specifically, I implemented the interface for Boolean, DateTime,
> > Double, Single, TimeSpan, and Version.  The diff is attached, I would
> > appreciate it if you could review it.
> 
> Hello,
> 
> your patch looks good, but unfortunately I already implemented this
> myself last week.  There was a bug report open in bugzilla for a very
> long time and since nobody volunteered to do it, I finally implemented
> it myself.
> 
> I saw that you also implemented it for non-fundamental types like
> TimeSpan and Version.  At the moment, I'm not sure whether this'll be
> added to the standard or not (I asked and am waiting for a reply) - if
> it will be added, not all your work was in vain :-)
> 
> http://bugzilla.ximian.com/show_bug.cgi?id=58306
> 
> Martin
> 
>



More information about the Mono-devel-list mailing list