network: Remove make-network-from-forms.
This commit is contained in:
parent
a3ac1c7fcd
commit
a654ac5896
1 changed files with 0 additions and 4 deletions
|
@ -26,7 +26,6 @@
|
||||||
[make-state (-> (listof (cons/c symbol? any/c)) state?)]
|
[make-state (-> (listof (cons/c symbol? any/c)) state?)]
|
||||||
[make-state-booleanize (-> (listof (cons/c symbol? (or/c 0 1))) state?)]
|
[make-state-booleanize (-> (listof (cons/c symbol? (or/c 0 1))) state?)]
|
||||||
[booleanize-state (-> state? state?)]
|
[booleanize-state (-> state? state?)]
|
||||||
[make-network-from-functions (-> (listof (cons/c symbol? update-function/c)) network?)]
|
|
||||||
[update-function-form->update-function (-> update-function-form? update-function/c)]
|
[update-function-form->update-function (-> update-function-form? update-function/c)]
|
||||||
[network-form->network (-> network-form? network?)]
|
[network-form->network (-> network-form? network?)]
|
||||||
[make-network-from-forms (-> (listof (cons/c symbol? update-function-form?))
|
[make-network-from-forms (-> (listof (cons/c symbol? update-function-form?))
|
||||||
|
@ -228,9 +227,6 @@
|
||||||
(define (booleanize-state s)
|
(define (booleanize-state s)
|
||||||
(for/hash ([(x val) s]) (match val [0 (values x #f)] [1 (values x #t)])))
|
(for/hash ([(x val) s]) (match val [0 (values x #f)] [1 (values x #t)])))
|
||||||
|
|
||||||
;;; A version of make-immutable-hash restricted to creating networks.
|
|
||||||
(define (make-network-from-functions funcs) (make-immutable-hash funcs))
|
|
||||||
|
|
||||||
|
|
||||||
;;; =================================
|
;;; =================================
|
||||||
;;; Syntactic description of networks
|
;;; Syntactic description of networks
|
||||||
|
|
Loading…
Reference in a new issue