On 23/03/2008, at 10:30 AM, Erick Tryzelaar wrote:

>
> typeclass Value[t] {
>  virtual proc dump: cptr[t] = "$1->dump();";
> }


>
> But shouldn't this be a type error? It's neat that if we have a fully
> implemented typeclass that it works on all types, but here it
> obviously won't work. Didn't we use to have to instantiate a type with
> a typeclass before we could use it?

There were some checks, but they were wrong so I turned them off.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to