[Haskell-cafe] Re: Overloading functions based on arguments?

Daniel Kraft d at domob.eu
Fri Feb 13 06:00:51 EST 2009


Daniel Kraft wrote:
> Is this kind of overloading (instead of the polymorphism based 
> overloading) possible in Haskell?  Namely to have two functions with the 
> same name but different signatures so they could be distinguished by a 
> call's parameters?  I fear not...  So I guess I have to name the 
> functions differently, right?

Thanks for all the quick replies, I think I'm really going for different 
names :)  But there were some nice ideas I will remember for the future, 
maybe they can be of some use for something else!

Daniel



More information about the Haskell-Cafe mailing list