[Haskell-cafe] Name overloading
bulat.ziganshin at gmail.com
Wed Jan 13 14:14:01 EST 2010
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 ...
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Haskell-Cafe