This repository has been archived by the owner on Aug 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
racket.uew
2584 lines (2584 loc) · 41.8 KB
/
racket.uew
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/L12"Racket" Escape Char = \ Line Comment = ; String Chars = " File Extensions = RKT RKTL
/Delimiters = @()|\{}[]:;"' , .
/Indent Strings = "define" "let"
/Open Brace Strings = "(" "[" "{"
/Close Brace Strings = ")" "]" "}"
/C1"blue"
#%app
#%datum
#%declare
#%expression
#%module-begin
#%plain-app
#%plain-lambda
#%plain-module-begin
#%printing-module-begin
#%provide
#%require
#%stratified-body
#%top
#%top-interaction
#%variable-reference
->
->*
->*m
->d
->dm
->i
->m
...
:do-in
==
=>
_
absent
abstract
all-defined-out
all-from-out
and
any
augment
augment*
augment-final
augment-final*
augride
augride*
begin
begin-for-syntax
begin0
case
case->
case->m
case-lambda
class
class*
class-field-accessor
class-field-mutator
class/c
class/derived
combine-in
combine-out
command-line
compound-unit
compound-unit/infer
cond
cons/dc
contract
contract-out
contract-pos/neg-doubling
contract-struct
contracted
define
define-compound-unit
define-compound-unit/infer
define-contract-struct
define-custom-hash-types
define-custom-set-types
define-for-syntax
define-local-member-name
define-logger
define-match-expander
define-member-name
define-module-boundary-contract
define-namespace-anchor
define-opt/c
define-sequence-syntax
define-serializable-class
define-serializable-class*
define-signature
define-signature-form
define-splicing-for-clause-syntax
define-struct
define-struct/contract
define-struct/derived
define-syntax
define-syntax-rule
define-syntaxes
define-unit
define-unit-binding
define-unit-from-context
define-unit/contract
define-unit/new-import-export
define-unit/s
define-values
define-values-for-export
define-values-for-syntax
define-values/invoke-unit
define-values/invoke-unit/infer
define/augment
define/augment-final
define/augride
define/contract
define/final-prop
define/match
define/overment
define/override
define/override-final
define/private
define/public
define/public-final
define/pubment
define/subexpression-pos-prop
define/subexpression-pos-prop/name
delay
delay/idle
delay/name
delay/strict
delay/sync
delay/thread
do
else
except
except-in
except-out
export
extends
failure-cont
false
false/c
field
field-bound?
file
flat-murec-contract
flat-rec-contract
for
for*
for*/and
for*/async
for*/first
for*/fold
for*/fold/derived
for*/foldr
for*/foldr/derived
for*/hash
for*/hasheq
for*/hasheqv
for*/last
for*/list
for*/lists
for*/mutable-set
for*/mutable-seteq
for*/mutable-seteqv
for*/or
for*/product
for*/set
for*/seteq
for*/seteqv
for*/stream
for*/sum
for*/vector
for*/weak-set
for*/weak-seteq
for*/weak-seteqv
for-label
for-meta
for-space
for-syntax
for-template
for/and
for/async
for/first
for/fold
for/fold/derived
for/foldr
for/foldr/derived
for/hash
for/hasheq
for/hasheqv
for/last
for/list
for/lists
for/mutable-set
for/mutable-seteq
for/mutable-seteqv
for/or
for/product
for/set
for/seteq
for/seteqv
for/stream
for/sum
for/vector
for/weak-set
for/weak-seteq
for/weak-seteqv
gen:custom-write
gen:dict
gen:equal+hash
gen:set
gen:stream
generic
get-field
hash/dc
if
implies
import
include
include-at/relative-to
include-at/relative-to/reader
include/reader
inherit
inherit-field
inherit/inner
inherit/super
init
init-depend
init-field
init-rest
inner
inspect
instantiate
interface
interface*
invariant-assertion
invoke-unit
invoke-unit/infer
lambda
lazy
let
let*
let*-values
let-syntax
let-syntaxes
let-values
let/cc
let/ec
letrec
letrec-syntax
letrec-syntaxes
letrec-syntaxes+values
letrec-values
lib
link
local
local-require
log-debug
log-error
log-fatal
log-info
log-warning
match
match*
match*/derived
match-define
match-define-values
match-lambda
match-lambda*
match-lambda**
match-let
match-let*
match-let*-values
match-let-values
match-letrec
match-letrec-values
match/derived
match/values
member-name-key
mixin
module
module*
module+
nand
new
nor
object-contract
object/c
only
only-in
only-meta-in
only-space-in
open
opt/c
or
overment
overment*
override
override*
override-final
override-final*
parameterize
parameterize*
parameterize-break
parametric->/c
place
place*
place/context
planet
prefix
prefix-in
prefix-out
private
private*
prompt-tag/c
protect-out
provide
provide-signature-elements
provide/contract
public
public*
public-final
public-final*
pubment
pubment*
quasiquote
quasisyntax
quasisyntax/loc
quote
quote-syntax
quote-syntax/prune
recontract-out
recursive-contract
relative-in
rename
rename-in
rename-inner
rename-out
rename-super
require
send
send*
send+
send-generic
send/apply
send/keyword-apply
set!
set!-values
set-field!
shared
stream
stream*
stream-cons
stream-lazy
struct
struct*
struct-copy
struct-field-index
struct-guard/c
struct-out
struct/c
struct/contract
struct/ctc
struct/dc
struct/derived
submod
super
super-instantiate
super-make-object
super-new
syntax
syntax-case
syntax-case*
syntax-id-rules
syntax-rules
syntax/loc
tag
this
this%
thunk
thunk*
time
unconstrained-domain->
unit
unit-from-context
unit/c
unit/new-import-export
unit/s
unless
unquote
unquote-splicing
unsyntax
unsyntax-splicing
values/drop
when
with-continuation-mark
with-contract
with-contract-continuation-mark
with-handlers
with-handlers*
with-method
with-syntax
~?
~@
λ
/C2"red"
#f
#t
false
true
/C3"yellow"
/C4"green"
*
*list/c
+
-
// /
<
</c
<=
<=/c
=
=/c
>
>/c
>=
>=/c
abort-current-continuation
abs
absolute-path?
acos
add-between
add1
alarm-evt
always-evt
and/c
andmap
angle
any/c
append
append*
append-map
apply
argmax
argmin
arithmetic-shift
arity-at-least
arity-at-least-value
arity-at-least?
arity-checking-wrapper
arity-includes?
arity=?
arrow-contract-info
arrow-contract-info-accepts-arglist
arrow-contract-info-chaperone-procedure
arrow-contract-info-check-first-order
arrow-contract-info?
asin
assert-unreachable
assf
assoc
assq
assv
atan
bad-number-of-results
banner
base->-doms/c
base->-rngs/c
base->?
between/c
bitwise-and
bitwise-bit-field
bitwise-bit-set?
bitwise-ior
bitwise-not
bitwise-xor
blame-add-car-context
blame-add-cdr-context
blame-add-context
blame-add-missing-party
blame-add-nth-arg-context
blame-add-range-context
blame-add-unknown-context
blame-context
blame-contract
blame-fmt->-string
blame-missing-party?
blame-negative
blame-original?
blame-positive
blame-replace-negative
blame-replaced-negative?
blame-source
blame-swap
blame-swapped?
blame-update
blame-value
blame?
block-device-type-bits
boolean=?
boolean?
bound-identifier=?
box
box-cas!
box-immutable
box-immutable/c
box/c
box?
break-enabled
break-parameterization?
break-thread
build-chaperone-contract-property
build-compound-type-name
build-contract-property
build-flat-contract-property
build-list
build-path
build-path/convention-type
build-string
build-vector
byte-pregexp
byte-pregexp?
byte-ready?
byte-regexp
byte-regexp?
byte?
bytes
bytes->immutable-bytes
bytes->list
bytes->path
bytes->path-element
bytes->string/latin-1
bytes->string/locale
bytes->string/utf-8
bytes-append
bytes-append*
bytes-close-converter
bytes-convert
bytes-convert-end
bytes-converter?
bytes-copy
bytes-copy!
bytes-environment-variable-name?
bytes-fill!
bytes-join
bytes-length
bytes-no-nuls?
bytes-open-converter
bytes-ref
bytes-set!
bytes-utf-8-index
bytes-utf-8-length
bytes-utf-8-ref
bytes<?
bytes=?
bytes>?
bytes?
caaaar
caaadr
caaar
caadar
caaddr
caadr
caar
cadaar
cadadr
cadar
caddar
cadddr
caddr
cadr
call-in-continuation
call-in-nested-thread
call-with-atomic-output-file
call-with-break-parameterization
call-with-composable-continuation
call-with-continuation-barrier
call-with-continuation-prompt
call-with-current-continuation
call-with-default-reading-parameterization
call-with-escape-continuation
call-with-exception-handler
call-with-file-lock/timeout
call-with-immediate-continuation-mark
call-with-input-bytes
call-with-input-file
call-with-input-file*
call-with-input-string
call-with-output-bytes
call-with-output-file
call-with-output-file*
call-with-output-string
call-with-parameterization
call-with-semaphore
call-with-semaphore/enable-break
call-with-values
call/cc
call/ec
car
cartesian-product
cdaaar
cdaadr
cdaar
cdadar
cdaddr
cdadr
cdar
cddaar
cddadr
cddar
cdddar
cddddr
cdddr
cddr
cdr
ceiling
channel-get
channel-put
channel-put-evt
channel-put-evt?
channel-try-get
channel/c
channel?
chaperone-box
chaperone-channel
chaperone-continuation-mark-key
chaperone-contract-property?
chaperone-contract?
chaperone-evt
chaperone-hash
chaperone-hash-set
chaperone-of?
chaperone-procedure
chaperone-procedure*
chaperone-prompt-tag
chaperone-struct
chaperone-struct-type
chaperone-vector
chaperone-vector*
chaperone?
char->integer
char-alphabetic?
char-blank?
char-ci<=?
char-ci<?
char-ci=?
char-ci>=?
char-ci>?
char-downcase
char-foldcase
char-general-category
char-graphic?
char-in
char-in/c
char-iso-control?
char-lower-case?
char-numeric?
char-punctuation?
char-ready?
char-symbolic?
char-title-case?
char-titlecase
char-upcase
char-upper-case?
char-utf-8-length
char-whitespace?
char<=?
char<?
char=?
char>=?
char>?
char?
character-device-type-bits
check-duplicate-identifier
check-duplicates
checked-procedure-check-and-extract
choice-evt
class->interface
class-info
class-seal
class-unseal
class?
cleanse-path
close-input-port
close-output-port
coerce-chaperone-contract
coerce-chaperone-contracts
coerce-contract
coerce-contract/f
coerce-contracts
coerce-flat-contract
coerce-flat-contracts
collect-garbage
collection-file-path
collection-path
combinations
combine-output
compile
compile-allow-set!-undefined
compile-context-preservation-enabled
compile-enforce-module-constants
compile-syntax
compile-target-machine?
compiled-expression-recompile
compiled-expression?
compiled-module-expression?
complete-path?
complex?
compose
compose1
conjoin
conjugate
cons
cons/c
cons?
const
continuation-mark-key/c
continuation-mark-key?
continuation-mark-set->context
continuation-mark-set->iterator
continuation-mark-set->list
continuation-mark-set->list*
continuation-mark-set-first
continuation-mark-set?
continuation-marks
continuation-prompt-available?
continuation-prompt-tag?
continuation?
contract-continuation-mark-key
contract-custom-write-property-proc
contract-equivalent?
contract-exercise
contract-first-order
contract-first-order-passes?
contract-late-neg-projection
contract-name
contract-proc
contract-projection
contract-property?
contract-random-generate
contract-random-generate-env?
contract-random-generate-fail
contract-random-generate-fail?
contract-random-generate-get-current-environment
contract-random-generate-stash
contract-random-generate/choose
contract-stronger?
contract-struct-exercise
contract-struct-generate
contract-struct-late-neg-projection
contract-struct-list-contract?
contract-val-first-projection
contract?
convert-stream
copy-directory/files
copy-file
copy-port
cos
cosh
count
current-blame-format
current-break-parameterization
current-code-inspector
current-command-line-arguments
current-compile
current-compile-realm
current-compile-target-machine
current-compiled-file-roots
current-continuation-marks
current-contract-region
current-custodian
current-directory
current-directory-for-user
current-drive
current-environment-variables
current-error-message-adjuster
current-error-port
current-eval
current-evt-pseudo-random-generator
current-force-delete-permissions
current-future
current-gc-milliseconds
current-get-interaction-evt
current-get-interaction-input-port
current-inexact-milliseconds
current-inexact-monotonic-milliseconds
current-input-port
current-inspector
current-library-collection-links
current-library-collection-paths
current-load
current-load-extension
current-load-relative-directory
current-load/use-compiled
current-locale
current-logger
current-memory-use
current-milliseconds
current-module-declare-name
current-module-declare-source
current-module-name-resolver
current-module-path-for-load
current-namespace
current-output-port
current-parameterization
current-plumber
current-preserved-thread-cell-values
current-print
current-process-milliseconds
current-prompt-read
current-pseudo-random-generator
current-read-interaction
current-reader-guard
current-readtable
current-seconds
current-security-guard
current-subprocess-custodian-mode
current-subprocess-keep-file-descriptors
current-thread
current-thread-group
current-thread-initial-stack-size
current-write-relative-directory
curry
curryr
custodian-box-value
custodian-box?
custodian-limit-memory
custodian-managed-list
custodian-memory-accounting-available?
custodian-require-memory
custodian-shut-down?
custodian-shutdown-all
custodian?
custom-print-quotable-accessor
custom-print-quotable?
custom-write-accessor
custom-write-property-proc
custom-write?
date
date*
date*-nanosecond
date*-time-zone-name
date*?
date-day
date-dst?
date-hour
date-minute
date-month
date-second
date-time-zone-offset
date-week-day
date-year
date-year-day
date?
datum->syntax
datum-intern-literal
default-continuation-prompt-tag
degrees->radians
delete-directory
delete-directory/files
delete-file
denominator
dict->list
dict-can-functional-set?
dict-can-remove-keys?
dict-clear
dict-clear!
dict-copy
dict-count
dict-empty?
dict-for-each
dict-has-key?
dict-implements/c
dict-implements?
dict-iter-contract
dict-iterate-first
dict-iterate-key
dict-iterate-next
dict-iterate-value
dict-key-contract
dict-keys
dict-map
dict-mutable?
dict-ref
dict-ref!
dict-remove
dict-remove!
dict-set
dict-set!
dict-set*
dict-set*!
dict-update
dict-update!
dict-value-contract
dict-values
dict?
directory-exists?
directory-list
directory-type-bits
disjoin
display
display-lines
display-lines-to-file
display-to-file
displayln
double-flonum?
drop
drop-common-prefix
drop-right
dropf
dropf-right
dump-memory-stats
dup-input-port
dup-output-port
dynamic->*
dynamic-get-field
dynamic-object/c
dynamic-place
dynamic-place*
dynamic-require
dynamic-require-for-syntax
dynamic-send
dynamic-set-field!
dynamic-wind
eighth
empty
empty-sequence
empty-stream
empty?
environment-variables-copy
environment-variables-names
environment-variables-ref
environment-variables-set!
environment-variables?
eof
eof-evt
eof-object?
ephemeron-value
ephemeron?
eprintf
eq-contract-val
eq-contract?
eq-hash-code
eq?
equal-contract-val
equal-contract?
equal-hash-code
equal-secondary-hash-code
equal<%>
equal?
equal?/recur
eqv-hash-code
eqv?
error
error-contract->adjusted-string
error-display-handler
error-escape-handler
error-message->adjusted-string
error-message-adjuster-key
error-print-context-length
error-print-source-location
error-print-width
error-syntax->string-handler
error-value->string-handler
eval
eval-jit-enabled
eval-syntax
even?
evt/c
evt?
exact->inexact
exact-ceiling
exact-floor
exact-integer?
exact-nonnegative-integer?
exact-positive-integer?
exact-round
exact-truncate
exact?
executable-yield-handler
exit
exit-handler
exn
exn-continuation-marks
exn-message
exn:break
exn:break-continuation
exn:break:hang-up
exn:break:hang-up?
exn:break:terminate
exn:break:terminate?
exn:break?
exn:fail
exn:fail:contract
exn:fail:contract:arity
exn:fail:contract:arity?
exn:fail:contract:blame
exn:fail:contract:blame-object
exn:fail:contract:blame?
exn:fail:contract:continuation
exn:fail:contract:continuation?
exn:fail:contract:divide-by-zero
exn:fail:contract:divide-by-zero?