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

Antoine Latter aslatter at gmail.com
Sun Aug 16 22:39:52 EDT 2009


On Sun, Aug 16, 2009 at 8:50 PM, Dan Doel<dan.doel at gmail.com> wrote:
> On Sunday 16 August 2009 8:35:19 pm Antoine Latter wrote:
>> But with those, the number of arguments is still known at compile time,
>> correct?
>

<snip!>

>
> % ./Var 2 5
> 55
> % ./Var 6 5
> 555555
>
> Voila.

Ah!  Very nice.

Antoine


More information about the Haskell-Cafe mailing list