Polymorphism (computer science): Difference between revisions

Content deleted Content added
Added section on rank polymorphism
Citation bot (talk | contribs)
Add: arxiv. | Use this bot. Report bugs. | Suggested by Headbomb | #UCB_toolbar
Line 147:
 
===Rank Polymorphism===
Rank polymorphism is one of the defining features of the [[Array_programming|array programming languages]], like [[APL_(programming_language)|APL]]. The essence of the rank-polymorphic programming model is implicitly treating all operations as aggregate operations, usable on arrays with arbitrarily many dimensions,<ref>{{cite journal |title=The semantics of rank polymorphism |journal=arXiv preprint arXiv:1907.00509 |date=2019 |last1=Slepak |first1=Justin |last2=Shivers |first2=Olin |last3=Manolios |first3=Panagiotis|arxiv=1907.00509 }}</ref> which is to say that rank polymorphism allows functions to be defined to operate on arrays of any shape and size.
 
==Implementation aspects==