[Haskell-cafe] Re: creating graphics the functional way

Shin-Cheng Mu scm at iis.sinica.edu.tw
Mon Aug 6 04:58:56 EDT 2007


On 05/08/07, Frank Buss <fb at frank-buss.de> wrote:
> Is it possible to write functions with an arbitrary number of  
> arguments?
> Would be nice if the average function would accept any number of pixel
> values.

You may be interested to see Oleg Kiselyov's discussion on
polyvariadic functions in Haskell:

   http://okmij.org/ftp/Haskell/types.html#polyvar-fn

sincerely,
Shin




More information about the Haskell-Cafe mailing list