HaskellWiki

Haskell | Wiki community | Recent changes
Random page | Special pages

 

Not logged in
Log in | Help

Polyvariadic functions

Categories: Idioms

"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

Retrieved from "http://www.haskell.org/haskellwiki/Polyvariadic_functions"

This page has been accessed 1,213 times. This page was last modified 12:43, 9 April 2006. Recent content is available under a simple permissive license.