rs,state: Explicitly state what happens when there are no more contexts.

This commit is contained in:
Sergiu Ivanov 2020-03-02 23:42:03 +01:00
parent b5f5eb55fc
commit d753409a2f
1 changed files with 2 additions and 1 deletions

3
rs.rkt
View File

@ -139,7 +139,8 @@
;;; A state of a reaction system is a set of species representing the
;;; result of the application of the reactions from the previous
;;; steps, plus the rest of the context sequence.
;;; steps, plus the rest of the context sequence. When the context
;;; sequence is empty, nothing is added to the current state.
(struct state (result rest-contexts) #:transparent)
;;; The dynamics of the reaction system only stores the reaction