File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
typed-racket-lib/typed-racket/rep Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 185185 #:with fld-frees #'(make-invariant (frees name))))
186186 (syntax-parse stx
187187 [(_ name:var-name ((~var flds (structural-flds #'frees )) ... ) . rst)
188- (with-syntax ([contructor -name (format-id #'name "make-~a-rep " (syntax-e #'name ))]
188+ (with-syntax ([constructor -name (format-id #'name "make-~a-rep " (syntax-e #'name ))]
189189 [type-constructor-name (format-id #'name "make-~a " (syntax-e #'name ))])
190190 (define arity (length (syntax->list #'(flds ... ))))
191191 (quasisyntax/loc stx
192192 (begin
193193 (def-rep (name #:constructor-name constructor-name) ([flds.name Type?] ... )
194- #:no-provide (constructor-name)
195194 [#:parent Type]
196195 [#:frees (frees) . #,(if (= 1 (length (syntax->list #'(flds.name ... ))))
197196 #'(flds.fld-frees ... )
You can’t perform that action at this time.
0 commit comments