On 15/11/2012, at 4:18 AM, Dobes Vandermeer wrote: > > Of course, one might also argue that your use of objects instead of type > classes points to a failure of your type class system. Surely you can do > whatever you are doing with objects using type classes? Perhaps there's > still hope to fix type classes and toss the object system.
Type classes map parametric polymorphism onto overloading. As in Haskell. Doesn't have much to do with objects, except perhaps that we have functions, which take values of some types T1, T2 .. Not sure I understand tossing the object system: its just syntactic sugar for a function returning a record of multiple closures, a more static version of CLOS (Common Lisp Object System). If you don't take sugar in your coffee .. don't put sugar in it. -- john skaller skal...@users.sourceforge.net http://felix-lang.org ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language