computable-pandoc/tests/fail.lit.complex.md

379 B

Declarations

-- fn1(x)
#x + 2 + 3

Invalid Declarations

-- fn0 not declared: fn3(x)
#fn0 * #x

-- infinite loop: fn3(x)
#fn3(1) * #x

Invalid Calls

  • fn1(1, $action: "foo") has invalid rkwarg value
  • fn1(1, $act: "shift") has invalid rkwarg
  • fn1(fn4()); \fn4() is not declared

Invalid calls and declarations generate and collects errors.