networks: Make the state an immutable hash table by default.

This commit is contained in:
Sergiu Ivanov 2020-02-22 23:20:10 +01:00
parent 25a88c820a
commit ac8e63c5f4
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@
;;; A version of make-hash restricted to creating network states (see
;;; contract).
(define (make-state mappings) (make-hash mappings))
(define (make-state mappings) (make-immutable-hash mappings))
;;; A shortcut for make-state.
(define-syntax-rule (st mappings) (make-state mappings))