parent
671af55d1b
commit
4ca17b1178
@ -0,0 +1,15 @@
|
|||||||
|
#lang racket/base
|
||||||
|
|
||||||
|
(provide report describe)
|
||||||
|
|
||||||
|
(define-syntax-rule (report var)
|
||||||
|
(begin
|
||||||
|
(displayln (format "~a = ~v" 'var var) (current-error-port))
|
||||||
|
var))
|
||||||
|
|
||||||
|
(require (prefix-in williams: describe))
|
||||||
|
|
||||||
|
(define (describe x)
|
||||||
|
(parameterize ([current-output-port (current-error-port)])
|
||||||
|
(williams:describe x))
|
||||||
|
x)
|
@ -1,2 +1,4 @@
|
|||||||
#lang setup/infotab
|
#lang info
|
||||||
(define collection 'multi)
|
(define collection "sugar")
|
||||||
|
(define scribblings '(("scribblings/sugar.scrbl" (multi-page))))
|
||||||
|
(define deps '("describe"))
|
@ -1,8 +0,0 @@
|
|||||||
#lang racket/base
|
|
||||||
|
|
||||||
(provide report)
|
|
||||||
|
|
||||||
(define-syntax-rule (report var)
|
|
||||||
(begin
|
|
||||||
(displayln (format "~a = ~v" 'var var) (current-error-port))
|
|
||||||
var))
|
|
@ -1,2 +0,0 @@
|
|||||||
#lang setup/infotab
|
|
||||||
(define scribblings '(("scribblings/sugar.scrbl" (multi-page))))
|
|
Loading…
Reference in New Issue