racket/racket
J. Ian Johnson af12f855ba Expose the mk-rhs function normalize-definition uses.
I found I wanted this to make a define/stub macro that errors giving the defined identifier:

(define-syntax (define/stub stx)
  (syntax-case stx ()
    [(_ header)
     (let-values ([(id mk-rhs body) (normalize-definition/mk-rhs stx #'lambda #t #t #f)])
       #`(define #,id #,(mk-rhs #`(error '#,id "TODO: stub"))))]))

Closes #508.
2015-03-11 17:44:20 -04:00
..
collects Expose the mk-rhs function normalize-definition uses. 2015-03-11 17:44:20 -04:00
src repair impersonator-porperty predicate and accessor 2015-03-09 15:33:41 -06:00
.gitignore configure installation of man pages 2013-07-22 13:21:09 -06:00