The Whiley language splits into a fully functional “core” and an imperative “outer layer”. References and objects do not exist within the functional core. However, they can exist within the imperative outer layer and are necessary for supporting state and other side-effecting computation. Here’s a simple example:
define Buffer as ref { [int] items . . . → Read More: Flow Typing for References in Whiley
