networks: Simplify and fix the comment of update.

This commit is contained in:
Sergiu Ivanov 2020-11-12 01:08:10 +01:00
parent 88caecb98a
commit 681ed0e732

View File

@ -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])