note on performance

This commit is contained in:
Sam Caldwell 2018-05-17 12:17:27 -04:00 committed by Sam Caldwell
parent 8808b5aca9
commit 1e66554b8e
1 changed files with 3 additions and 1 deletions

View File

@ -126,7 +126,9 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; User Defined Types, aka Constructors
;; τ.norm in 1st case causes "not valid type" error when file is compiled
;; τ.norm in 1st case causes "not valid type" error when referring to ⊥ in another file.
;; however, this version expands the type at every reference, incurring a potentially large
;; overhead---2x in the case of book-club.rkt
;; (copied from ext-stlc example)
(define-syntax define-type-alias
(syntax-parser