From 5fd1b95d5c209ad124f3784a156e728508c9d0ce Mon Sep 17 00:00:00 2001 From: Sergiu Ivanov Date: Sun, 23 Feb 2020 08:47:16 +0100 Subject: [PATCH] networks: Fix the comments for make-state and make-network-from-functions. --- networks.rkt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/networks.rkt b/networks.rkt index 040a6ae..2edb27b 100644 --- a/networks.rkt +++ b/networks.rkt @@ -72,14 +72,14 @@ (hash-set! new-s x (f s)))) new-s)) -;;; A version of make-hash restricted to creating network states (see -;;; contract). +;;; A version of make-immutable-hash restricted to creating network +;;; states (see contract). (define (make-state mappings) (make-immutable-hash mappings)) ;;; A shortcut for make-state. (define-syntax-rule (st mappings) (make-state mappings)) -;;; A version of make-hash restricted to creating networks. +;;; A version of make-immutable-hash restricted to creating networks. (define (make-network-from-functions funcs) (make-immutable-hash funcs))