evaluate method

A evaluate(
  1. S state
)

Execute run and extract the value A.

To extract both the value and the state use run.

To extract only the state S use execute.

Implementation

A evaluate(S state) => run(state).$1;