rs,state: Explicitly state what happens when there are no more contexts.
This commit is contained in:
parent
b5f5eb55fc
commit
d753409a2f
1 changed files with 2 additions and 1 deletions
3
rs.rkt
3
rs.rkt
|
@ -139,7 +139,8 @@
|
||||||
|
|
||||||
;;; A state of a reaction system is a set of species representing the
|
;;; A state of a reaction system is a set of species representing the
|
||||||
;;; result of the application of the reactions from the previous
|
;;; 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)
|
(struct state (result rest-contexts) #:transparent)
|
||||||
|
|
||||||
;;; The dynamics of the reaction system only stores the reaction
|
;;; The dynamics of the reaction system only stores the reaction
|
||||||
|
|
Loading…
Reference in a new issue