Polyvariadic functions

From HaskellWiki
Revision as of 12:43, 9 April 2006 by DonStewart (talk | contribs) (Point to Oleg's article on polyvariadic functions)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

"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