Compare commits
3 Commits
main
...
stackoverf
Author | SHA1 | Date | |
---|---|---|---|
![]() |
bdba7e8f43 | ||
![]() |
948f9adef1 | ||
![]() |
fef49f611e |
|
@ -1,5 +1,5 @@
|
||||||
[](https://travis-ci.org/jsmaniac/hyper-literate)
|
[](https://travis-ci.org/jsmaniac/hyper-literate)
|
||||||
[](https://coveralls.io/github/jsmaniac/hyper-literate)
|
[](https://coveralls.io/github/jsmaniac/hyper-literate)
|
||||||
[](http://jsmaniac.github.io/travis-stats/#jsmaniac/hyper-literate)
|
[](http://jsmaniac.github.io/travis-stats/#jsmaniac/hyper-literate)
|
||||||
|
|
||||||
hyper-literate
|
hyper-literate
|
||||||
|
|
|
@ -46,6 +46,11 @@ And so does @racket[(require (submod ".." …))]:
|
||||||
(require (submod ".." ms2))]
|
(require (submod ".." ms2))]
|
||||||
|
|
||||||
@chunk[<*>
|
@chunk[<*>
|
||||||
|
(begin
|
||||||
|
;; Wrap the require in a `(begin …)` so that it gets ignored,
|
||||||
|
;; otherwise scribble complains some identifiers are loaded twice
|
||||||
|
;; for-label.
|
||||||
|
(require (for-syntax)))
|
||||||
(require typed/rackunit)
|
(require typed/rackunit)
|
||||||
<submod>
|
<submod>
|
||||||
(check-equal? (+ x x) 2)
|
(check-equal? (+ x x) 2)
|
||||||
|
|
|
@ -73,7 +73,7 @@
|
||||||
(list (smaller (elemref '(chunk tag) #:underline? #f
|
(list (smaller (elemref '(chunk tag) #:underline? #f
|
||||||
str
|
str
|
||||||
rest ...))))
|
rest ...))))
|
||||||
(racketblock expr ...))))))]))
|
(#,racketblock expr ...))))))]))
|
||||||
|
|
||||||
(define-syntax chunk (make-chunk #'racketblock))
|
(define-syntax chunk (make-chunk #'racketblock))
|
||||||
(define-syntax CHUNK (make-chunk #'RACKETBLOCK))
|
(define-syntax CHUNK (make-chunk #'RACKETBLOCK))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user