Hello, I am looking at a way to reproduce so called function projections in APL like langages.
Say I define a function
my_fun <- function(x,y,z,t)
{
//
}
A projection would be to define another function of 3 or less variables, with my_fun. For instance my_fun(1,y,"black",t) would be a function of two variables.
Of course I know I can define it explicitly,but is there a package that would allow me to do something like
lapply(1:10, FUN=my_fun(1,4,"black",.))