networks: Make the state an immutable hash table by default.
This commit is contained in:
parent
25a88c820a
commit
ac8e63c5f4
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue