dgkf / R

An experimental reimagining of R
https://dgkf.github.io/R
GNU General Public License v3.0
136 stars 5 forks source link

List declaration using paren syntax doesn't force promise evaluation #131

Closed dgkf closed 3 months ago

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