Skip to content

Commit

Permalink
Document that next_state is run more than once
Browse files Browse the repository at this point in the history
  • Loading branch information
jmid committed Oct 9, 2023
1 parent 07bcdf7 commit c549513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/STM.mli
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ sig
val next_state : cmd -> state -> state
(** [next_state c s] expresses how interpreting the command [c] moves the
model's internal state machine from the state [s] to the next state.
Ideally a [next_state] function is pure. *)
Ideally a [next_state] function is pure, as it is run more than once. *)

val init_sut : unit -> sut
(** Initialize the system under test. *)
Expand Down

0 comments on commit c549513

Please sign in to comment.