R icon indicating copy to clipboard operation
R copied to clipboard

List declaration using paren syntax doesn't force promise evaluation

Open dgkf opened this issue 1 year ago • 0 comments

f <- function(a, b, c) { (a, b, c) }
f(3, 2, 1)
# [[1]]
# a @ <environment 0x12d458>
# 
# [[2]]
# b @ <environment 0x12d458>
# 
# [[3]]
# c @ <environment 0x12d458>

dgkf avatar May 10 '24 15:05 dgkf