Say I'm writing a really good interface. Actually, I think I would like to use some of the built-in types that I use to implement them, so that any code that I write that uses this interface can also use built-in types.
public interface IKickAss
{
int Yeahhhhhhh() { get; }
}
public static class Woot
{
public int Bar(IKickAss a, IKickAss b)
{
return a.Yeahhhhhhh - b.Yeahhhhhhh;
}
}
public partial struct Int32 : IKickAss
{
public int Yeahhhhhhh
{
get
{
return this;
}
}
}
. , radix "uint", "IRadixSortable", "uint RadixKey {get}". , : uint, IRadixSortable. , uint IRadixSortable. ... , ?
Haskell (, ), , , . # . , " ":)