Skip to content
Prev 57661 / 63424 Next

Puzzled about a new method for "[".

On Sun, 3 Nov 2019 at 22:12, Rolf Turner <r.turner at auckland.ac.nz> wrote:
The thing is...

test <- function(x = y * 2) {
  y <- 1
  x
}

test()
# 2

Lazy evaluation magic.

I?aki