Personal tools

Polyvariadic functions

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
(Point to Oleg's article on polyvariadic functions)
m (Fixed dead link)

Latest revision as of 04:58, 15 October 2010

"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