HaskellWiki

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

 

Not logged in
Log in | Help

Request an account if you don't have one.

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://haskell.cs.yale.edu/haskellwiki/Polyvariadic_functions"

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