now blocks of code can be passed to user-defined functions as well, omitting the arrow. Added test case, see extended description.

a = (code) -> code()

a <ball>

a
▶rect
▶peg