Daniel Kraft wrote:
Hi,

I just came across a problem like this: Suppose I've got two related functions that do similar things, and I want to call them the same... Like in:

foobar :: String -> Int -> Int
foobar :: Int -> String -> Int

(Bad example, but I hope you got the point.)

http://www.haskell.org/haskellwiki/Type_classes_are_for_reusability
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to