From 681ed0e732df9572f7080ce8904a455c2df8da57 Mon Sep 17 00:00:00 2001 From: Sergiu Ivanov Date: Thu, 12 Nov 2020 01:08:10 +0100 Subject: [PATCH] networks: Simplify and fix the comment of update. --- networks.rkt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/networks.rkt b/networks.rkt index 6504632..c62031d 100644 --- a/networks.rkt +++ b/networks.rkt @@ -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])