Learn R Programming

tinsel (version 0.0.1)

print.decorated: Print a Decorated Function

Description

The print.decorated function naively prints x as a function. In reality, the function printed may be the final of any number of decorators to a decoratee. To get the original function or the decorators wrapping it use original and decorators.

Usage

"print"(x, ...)

Arguments

x
A decorated function.
...
Additional arguments for next print method.

Examples

Run this code
source_decoratees(tinsel_example('tags.R'))

print(html_paragraph)
print(html_bold)

Run the code above in your browser using DataLab