Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,4 @@
#lang racket
render-game-state
send-message-to-client
traverse-forest

View file

@ -0,0 +1,7 @@
#lang racket
(string-ref "1234" 2)
(string-length "123")
(string-append "12" "34")
;exceptions:
(append (list 1 2) (list 3 4))
(unbox (box 7))

View file

@ -0,0 +1,6 @@
#lang racket
(struct pair (x y) #:transparent #:mutable)
(define p (pair 1 2))
(pair-x p) ; ==> 1
(set-pair-y! p 3)
p ; ==> (pair 1 3)

View file

@ -0,0 +1,3 @@
#lang racket
(list->vector '(1 2 3 4))
(number->string 7)

View file

@ -0,0 +1,15 @@
;predicates and boolean-valued functions: ?
(boolean? 5)
(list? "123")
;setters and field mutators: !
(set! x 5)
(vector-set! v 2 "x")
; classes: %
game-state%
button-snip%
;interfaces: <%>;
dc<%>;
font-name-directory<%>