Get the argument value of a partialised function

后端 未结 0 1409
孤城傲影
孤城傲影 2021-01-05 01:41

Given the following toy example:

library(purrr)
foo = function(x, a) x + a
foop = partial(foo, a = runif(1))
foop


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题