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.
|
;;; multiple different ways.
|
||||||
(define network? (hash/c variable? procedure?))
|
(define network? (hash/c variable? procedure?))
|
||||||
|
|
||||||
;;; Given a state s updates all the variables from xs. This
|
;;; Given a state s updates all the variables from xs.
|
||||||
;;; corresponds to a parallel mode.
|
|
||||||
(define (update network s xs)
|
(define (update network s xs)
|
||||||
(for/fold ([new-s s])
|
(for/fold ([new-s s])
|
||||||
([x xs])
|
([x xs])
|
||||||
|
|
Loading…
Reference in a new issue