You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
typesetting/pitfall/restructure/helper.rkt

26 lines
501 B
Racket

#lang racket/base
(require (for-syntax racket/base br/syntax) racket/class br/define)
(provide (all-defined-out))
8 years ago
(define RBase
(class object%
(super-new)
(abstract decode)
(abstract encode)
8 years ago
(define/public (process . args)
(void))
8 years ago
#;(abstract size)))
(define-macro (test-module . EXPRS)
#`(module+ test
(require #,(datum->syntax caller-stx 'rackunit))
8 years ago
. EXPRS))
8 years ago
(define (port-position port)
(define-values (l c p) (port-next-location port))
p)
8 years ago