rs: Make reaction transparent.
This commit is contained in:
parent
5c13b468e3
commit
a77261c424
1 changed files with 2 additions and 1 deletions
3
rs.rkt
3
rs.rkt
|
@ -23,7 +23,8 @@
|
||||||
;;; inhibitors, and the products, respectively.
|
;;; inhibitors, and the products, respectively.
|
||||||
(struct reaction ([reactants : (Setof Symbol)]
|
(struct reaction ([reactants : (Setof Symbol)]
|
||||||
[inhibitors : (Setof Symbol)]
|
[inhibitors : (Setof Symbol)]
|
||||||
[products : (Setof Symbol)]))
|
[products : (Setof Symbol)])
|
||||||
|
#:transparent)
|
||||||
|
|
||||||
;;; A reaction is enabled on a set if all of its reactants are in the
|
;;; A reaction is enabled on a set if all of its reactants are in the
|
||||||
;;; set and none of its inhibitors are.
|
;;; set and none of its inhibitors are.
|
||||||
|
|
Loading…
Reference in a new issue