-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.rkt
41 lines (38 loc) · 1.01 KB
/
main.rkt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
;Fairylog
;Copyright Ross McKinlay, 2010
#lang racket/base
(require (except-in
(rename-in racket
[cond r:cond]
[match r:match]
[when r:when]
[if r:if]
[case r:case]
[begin r:begin]
[eq? r:eq?]
[* r:*]
[+ r:+]
[- r:-]
)
#%module-begin
))
(require (for-syntax racket
;"expander.rkt"
))
(require (rename-in "expander.rkt"
[~cond cond]
[~match match]
[~begin begin]
[~case case]
[~if if]
[~when when]
))
(provide ;
#%module-begin
(except-out (all-from-out racket)
;cond
)
(for-syntax (all-from-out racket)
; (all-from-out "expander.rkt")
)
(all-from-out "expander.rkt"))