Polyvariadic functions

From HaskellWiki
Revision as of 04:58, 15 October 2010 by Shelarcy (talk | contribs) (Fixed dead link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

"It is sometimes claimed that Haskell does not have polyvariadic functions. Here we demonstrate how to define functions with indefinitely many arguments; those arguments do not have to be of the same type."

Functions with the variable number of (variously typed) arguments