execute method

S execute(
  1. S state
)

Execute run and extract the state S.

To extract both the value and the state use run.

To extract only the value A use evaluate.

Implementation

S execute(S state) => run(state).$2;