Polyvariadic functions
From HaskellWiki
(Difference between revisions)
(Point to Oleg's article on polyvariadic functions) |
m (Fixed dead link) |
||
| Line 3: | Line 3: | ||
many arguments; those arguments do not have to be of the same type." | many arguments; those arguments do not have to be of the same type." | ||
| - | [http://okmij.org/ftp/Haskell/ | + | [http://okmij.org/ftp/Haskell/polyvariadic.html#polyvar-fn Functions with the variable number of (variously typed) arguments] |
[[Category:Idioms]] | [[Category:Idioms]] | ||
Current revision
"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
