networks: Simplify and fix the comment of update.
This commit is contained in:
parent
88caecb98a
commit
681ed0e732
1 changed files with 1 additions and 2 deletions
|
@ -175,8 +175,7 @@
|
|||
;;; multiple different ways.
|
||||
(define network? (hash/c variable? procedure?))
|
||||
|
||||
;;; Given a state s updates all the variables from xs. This
|
||||
;;; corresponds to a parallel mode.
|
||||
;;; Given a state s updates all the variables from xs.
|
||||
(define (update network s xs)
|
||||
(for/fold ([new-s s])
|
||||
([x xs])
|
||||
|
|
Loading…
Reference in a new issue