Wanted: local data, class, instance declarations

Bulat Ziganshin bulatz at HotPOP.com
Sun Jan 29 18:39:04 EST 2006


Hello Johannes,

Friday, January 27, 2006, 1:00:42 PM, you wrote:

JW> let  instance Ord Item where ...
JW>      xs :: [ Item ] ; xs = ...
JW> in   sort xs

are you familiar with generic haskell? one of its features is the
local definitions of the special cases for generic functions, what is
close to what you propose



-- 
Best regards,
 Bulat                            mailto:bulatz at HotPOP.com





More information about the Haskell-prime mailing list