scribble-enhanced/pkgs/scribble-pkgs/scribble-test/tests/scribble/docs/manual-ex.rkt
Matthew Flatt 6c624d531e move Scribble tests to "scribble-test"
original commit: ba553a917e3e97c74450859dc13481e2187c55ba
2013-07-18 15:20:51 -06:00

21 lines
392 B
Racket

#lang racket/base
(require (for-syntax racket/base))
(provide (all-defined-out))
(define (f) 10)
(define (g x y) (void))
(define (h x #:y y) (void))
(define (i x #:y [y #f]) (void))
(define (j) (void))
(define-syntax-rule (m x) 'x)
(define-syntax n (lambda (stx) #`(quote #,stx)))
(define p (make-parameter 10))
(define q (make-parameter #f))
(define-struct pt (x y))
(struct pn (x y))