networks: Make network? more precise.
Require that the hash table maps variables to procedures, instead of requiring nothing of the values of the hash table.
This commit is contained in:
parent
9682049df5
commit
9113a788a9
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@
|
|||
(define update-function/c (-> state? any/c))
|
||||
|
||||
;;; A network is a mapping from its variables to its update functions.
|
||||
(define network? variable-mapping?)
|
||||
(define network? (hash/c variable? procedure?))
|
||||
|
||||
;;; Given a state s updates all the variables from xs. This
|
||||
;;; corresponds to a parallel mode.
|
||||
|
|
Loading…
Reference in a new issue