racket
How to change your keyboard key of square brackets to parentheses in DrRacket?
The square brackets are next to the button \'P\' and before \'Enter\'. So I want to change them so that I can use them as parentheses instead of square brackets.[详细]
2023-03-17 18:41 分类:问答Racket refresh-now, thread, and yield
I\'ve been writing some simple racket GUI programs to prepare for a class I\'m teaching in the fall.I\'m having some problems with animation.I\'m using a basic canvas, and using the model for animatio[详细]
2023-03-15 12:54 分类:问答Scoping bug in Racket v5.1.1?
Somebody please tell me this is a bug in Racket (v5.1.1), It seams to be a scoping problem. (see code and output below)[详细]
2023-03-13 18:44 分类:问答mutable data in scheme to return pairs where right element is the largest suffix matching a condition
I have this definition \"sort left list\" which is a list of pairs sorted according to the left element of each pair the left element must be a non-negative integer and the right component may be a va[详细]
2023-03-13 14:40 分类:问答Do any other languages have builtin rational types like scheme?
I haven\'t heard of any, most languages seem to just have division of ints round or be a floating point numb开发者_运维知识库er. Was it found to be a problem in scheme and so not used in other languag[详细]
2023-03-12 18:00 分类:问答How to create a function that multiplies all numbers between 1 and "x" with dotimes?
I\'m making a function that multiplies all numbers between an 1 input and a \"x\" input with dotimes loop. If you please, check my function and say what\'s wrong since I don\'t know loops very well in[详细]
2023-03-12 16:01 分类:问答guile's procedure-source in racket?
Does racket have something like guile\'s procedure-source function, e.g.: (define (plus-one x) (+ 1 x))[详细]
2023-03-12 15:29 分类:问答drscheme - finite state machine
thanks to people at this great site I managed to put together code that is nearly complete and working. I have one final question.[详细]
2023-03-11 17:38 分类:问答Finite State Machine in Scheme
I am trying to finish a finite state machine in Scheme. The problem is, that I am not sure how to tell it what characters it should test. If I want to test a String \"abc112\" then how do I do that?[详细]
2023-03-08 04:41 分类:问答regexp and escaped char in scheme
in scheme, there is \"hello hellu-#\\\"hella.helloo,hallo#\\return#\\\"\" string I want to list them as (\"hello\" \"hellu\" \"h开发者_C百科ella\" \"helloo\" \"hallo\")[详细]
2023-03-07 16:12 分类:问答