[Haskell-cafe] Overloading functions based on arguments?
lemming at henning-thielemann.de
Fri Feb 13 10:34:38 EST 2009
Daniel Kraft wrote:
> 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.)
More information about the Haskell-Cafe