let: Evaluates expr with bindings. The binding in rhs are locked,...

Usage Arguments Value Examples

Usage

1
let(..., .in)

Arguments

...

binding

.in

expression to be evaluated

Value

the result of evaluation of '.in' with binding

Examples

1
2
3
4
5
6
7
8
velocity <- function (x1, x2, t1, t2) let(
  dx = x2 - x1,
  dt = t2 - t1,
  .in. = {
    dx / dt
  }
)
velocity(80, 90, 0, 0.5)

ngr-t/r-bindedEval documentation built on May 23, 2019, 4:43 p.m.