racket
Parameters for Structs in Scheme
I have this struct for people: (define-struct person ( fir开发者_StackOverflow社区st; a string: first name[详细]
2023-01-21 00:11 分类:问答east asian language is broken when I make Executable in DrRacket(language is scheme)
I\'m using DrRacket for Scheme Programming. for I\'m not a person wh开发者_运维技巧o use native English, I need to print out east asian language.[详细]
2023-01-18 06:39 分类:问答SICP, Scheme, DrRacket Question: Timer/profiler function?
I\'m currently trying to do exercise 1.22, which needs a function called runtime that returns the number of milliseconds the system 开发者_如何学运维has been running. However, my environment (R5RS) do[详细]
2023-01-18 06:09 分类:问答Dr Racket problems with SICP
I\'m working through SICP. Currently, in the first chapter, I\'m having problems getting Racket to let me redefine \"primitives\". For instance, I was under the impression that I should be able to arb[详细]
2023-01-13 20:52 分类:问答How to print a string in backward, in scheme?
I know if I write my scheme code in the following way and type in (word‘(a b c)), it will out putthe list in the same order. Could you please tell me if there was a way I can print it out in opposite[详细]
2023-01-10 06:30 分类:问答How is Racket different from Scheme?
Racket is a descendan开发者_如何学JAVAt of Scheme. How is Racket different than R6RS? What did it add, or take away, or is just different?[详细]
2023-01-09 15:14 分类:问答Scheme: Data serializing, efficient [and functional]
I\'m serializing data which may be an integer, an object (list) with other nested objects, and trying to make a choice as to what approach to be using. Of two, the first one is to create bytevectors r[详细]
2023-01-09 00:27 分类:问答Missing method in mred:canvas%?
I used MrEd Designer to make a user interface for a Scheme program.It includes a mred:canvas% on which I\'d like to plot points using draw-point.It\'s defined as:[详细]
2023-01-08 18:00 分类:问答Why does this work in DrRacket but not in Racket from the console
(define pick (lambda (num lat) (cond ((null? lat) (quote())) ((= (sub1 num) 0) (car lat)) (else (pick (sub1 num) (cdr lat))))))[详细]
2023-01-08 09:48 分类:问答Achieving variables in the local syntax in the Scheme environment
How we can achieve variables that we defined in the (local ...) syntax in Scheme开发者_运维技巧?[详细]
2023-01-07 13:20 分类:问答