Write top-level comments with ;;;

This commit is contained in:
Sergiu Ivanov 2020-02-15 15:16:20 +01:00
parent e53496f617
commit 6d02006691

12
bn.rkt
View file

@ -8,14 +8,14 @@
;;; The variables to be updated at each step are given by the mode. ;;; The variables to be updated at each step are given by the mode.
;; A state of a Boolean network is a mapping from the variables of the ;;; A state of a Boolean network is a mapping from the variables of the
;; network to their Boolean values. ;;; network to their Boolean values.
(define-type State (HashTable Symbol Boolean)) (define-type State (HashTable Symbol Boolean))
;; An update function is a Boolean function computing a Boolean value ;;; An update function is a Boolean function computing a Boolean value
;; from the given state. ;;; from the given state.
(define-type UpdateFunc (-> State Boolean)) (define-type UpdateFunc (-> State Boolean))
;; A Boolean network is a mapping from its variables to its update ;;; A Boolean network is a mapping from its variables to its update
;; functions. ;;; functions.
(define-type Network (HashTable Symbol UpdateFunc)) (define-type Network (HashTable Symbol UpdateFunc))