-
What's the best way to upgrade the 'racketscript' installation?
ghost updated
7 years ago
-
```
#lang racket
(struct posn (x y) #:guard (λ (x y name) (displayln (list '2d x y name)) (values x y)))
(struct posn3 posn (z) #:guard (λ (x y z name) (displayln (list '3d x y z name…
-
This will let us care less about polyfills.
For example, `String#padStart` is supported in all browsers, but in NodeJS only since v8.2.1+ http://node.green/#ES2017-features-String-padding.
As th…
glebm updated
7 years ago
-
Output is below. It doesnt seem to like the `..` in the path.
I believe it's the same error as here:
https://www.mail-archive.com/racket-users%40googlegroups.com/msg29170.html
with fix here: https:…
-
```
#lang racketscript/base
(require racketscript/htdp/image
racketscript/htdp/universe
)
(define (tick1 n)
(add1 n))
(define (show1 n)
(text (number->string n) 50 "blue"))
…
-
In Racket, does `on-key` trigger when you press shift? I thought it didnt (will test later). Anyhow, RacketScript does and it makes it hard to enter capital letters.