Encyclopedia > Generic function

  Article Content

Generic function

In certain systems for object-oriented programming such as the Common Lisp Object System and Dylan, a generic function is an entity made up of all methods having the same name. Generic functions correspond roughly to what Smalltalk calls messages; but when a generic function is called, method dispatch occurs on the basis of all arguments, not just a single privileged one. See under multiple dispatch for more.



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Northampton, Suffolk County, New York

... Census Bureau, the town has a total area of 23.8 km² (9.2 mi²). 23.5 km² (9.1 mi²) of it is land and 0.3 km² (0.1 mi²) of it is water. ...

 
 
 
This page was created in 44.4 ms