top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Mention what are the types of polymorphism you will encounter in Haskel?

+1 vote
279 views
Mention what are the types of polymorphism you will encounter in Haskel?
posted Jun 28, 2016 by Satyam

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+2 votes

In Haskel, there are two types of polymorphism

1.Parametric Polymorphism: A function is parametrically polymorphic, if it behaves equally for all types, in at least one of its type parameters
2.Bounded Polymorphism: You have bounded polymorphism or ad hoc, if you have custom behavior that you want to have for certain set of types

answer Jun 28, 2016 by Shivam Kumar Pandey
...