Hello John,

Wednesday, January 13, 2010, 10:08:08 PM, you wrote:

> Of course, this doesn't allow you to have functions share the same
> name if they have different signatures

class Open a where
  open :: a

instance Open (Int -> String) where ...
instance Open (String -> Int) where ...

-- 
Best regards,
 Bulat                            mailto:bulat.zigans...@gmail.com

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to