[Haskell-cafe] Calling function with unknown number and type arguments

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Sun Aug 16 11:00:20 EDT 2009

On Aug 16, 2009, at 06:45 , Maciej Piechotka wrote:
> I have to write a function which calls a function with unknown (i.e.
> given in runtime) number and type of arguments.

Take a look at the implementation of Text.Printf.

brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20090816/a4defa5b/PGP.bin

More information about the Haskell-Cafe mailing list