R/forget.R

forget <- function(f) {
  r <- function(x) {
    f(x, identity)
  }
  return(r)
}

Try the kriens package in your browser

Any scripts or data that you put into this service are public.

kriens documentation built on May 1, 2019, 10:50 p.m.