# NOT RUN {
# fn can either be a string, a symbol or a call
lang("f", a = 1)
lang(quote(f), a = 1)
lang(quote(f()), a = 1)
#' Can supply arguments individually or in a list
lang(quote(f), a = 1, b = 2)
lang(quote(f), splice(list(a = 1, b = 2)))
# Creating namespaced calls:
lang("fun", arg = quote(baz), .ns = "mypkg")
# }
Run the code above in your browser using DataLab