utils.rkt: Add dotit.
This commit is contained in:
parent
676e9226a3
commit
e73cdc2366
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
|||
#lang typed/racket
|
||||
|
||||
(require (for-syntax syntax/parse racket/list)
|
||||
typed-compose)
|
||||
typed-compose
|
||||
"graph-typed.rkt")
|
||||
|
||||
(provide Variable VariableMapping GeneralPair
|
||||
eval-with eval1-with
|
||||
|
@ -250,3 +251,7 @@
|
|||
(check-equal? (hash-ref m1 'b) '(or b (not a)))
|
||||
(check-equal? (hash-ref m2 'b) '(or b (not a)))
|
||||
(check-equal? (hash-ref m3 'b) '(or b (not a)))))
|
||||
|
||||
;;; Typeset the graph via graphviz and display it.
|
||||
(: dotit (-> Graph Void))
|
||||
(define dotit (compose display graphviz))
|
||||
|
|
Loading…
Reference in a new issue