Hi!!
Im looking to do this but cant due to nested captures:
Enum.map( &Kernel.apply( &Kernel.-/2, &1 ) )
Certainly this can be Enum.map(fn [a,b] -> a-b end) so .. yeah .. but was just curious Enum.map_apply(&Kernel.-/2)?
Thx!!
Hi!!
Im looking to do this but cant due to nested captures:
Enum.map( &Kernel.apply( &Kernel.-/2, &1 ) )
Certainly this can be Enum.map(fn [a,b] -> a-b end) so .. yeah .. but was just curious Enum.map_apply(&Kernel.-/2)?
Thx!!