[Haskell-cafe] apply function arguments in a list

Miguel Mitrofanov miguelimo38 at yandex.ru
Mon Oct 5 10:38:10 EDT 2009


t = let [x,y,z] = args in f x y z

Michael Mossey wrote:
> t = f (args!!0) (args!!1) (args!!2)



More information about the Haskell-Cafe mailing list