Monday, September 24, 2007

Polymorphism

http://cdict.giga.net.tw/q/polymorphism
FOLDOC - Computing Dictionary
人物 Christopher Strachey (polymorphism, currying)

length :: [a] -> Int
overloading (operator overloadin)
The ability to use the same syntax for objects of different type
  • 10+2
  • 1.2+2.5
  • "this" + " " + "is"

No comments: