
The "racket" directory contains a pared-back version of the repository, roughly. The "pkgs" directory everything else in the repository, but organized into packages. original commit: b2ebb0a28bf8136e75cd98316c22fe54c30eacb2
21 lines
392 B
Racket
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))
|