On Mon, 2006-10-02 at 09:40 -0400, Peter Tanski wrote: > > Typeclasses and instances have to be toplevel: that is, > > they can be nested in modules but NOT in functions. > > It wouldn't make sense if typeclasses were nested in functions.
Why not? They're allowed in programs .. and a program is just a function. -- John Skaller <skaller at users dot sf dot net> Felix, successor to C++: http://felix.sf.net ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Felix-language mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/felix-language
