elementerl / iron

Functional Erlang Toolkit
MIT License
0 stars 1 forks source link

applyn or apply_each #21

Open msassak opened 11 years ago

msassak commented 11 years ago

I want to be able to apply multiple functions from the same module:

[A, B, C] = fe:applyn(module_name, [fn1, {fn2, [1]}, fn3]).

Not quite sure what the name should be.

blt commented 11 years ago

I like applyn and, moreover, the general practice of naming functions that operate over collections *n.