PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in /am/paramount/vol/ecs/sites/whiley/wp-includes/class-wp-hook.php on line 298

Articles

  • No categories

Semantics

Whiley differs from traditional object-oriented languages by supporting value semantics and pure functions. These choices have been made to simplify the problem of automatically checking constraints at compile time.

  1. Values — It is important to understand the difference between the way value behave in Whiley, and other languages (e.g. Java).
  2. Purity — Similarly, understanding the impact of having pure functions is essential.