scheme
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 分类:问答What's the Gambit-C's GC mechanism?
What\'s the Gambit-C\'s GC mechanism? I\'m curious about this for making interactive app. I want to know whether it can avoid burst GC operation or开发者_运维技巧 not.According to these threads:[详细]
2023-03-12 11:30 分类:问答How to test equality of quoted symbols in Scheme?
In this example, > (= 1 1) #t > (= \'a \'a) *** ERROR IN (console)@2.1 -- (Argument 1) NUMBER expected[详细]
2023-03-12 05:39 分类:问答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 分类:问答How deep should my math background be before tackling SICP?
HI, I\'ve been trying to work my way thru the SICP book, I found myself cribbing some of the online answers but getting the overall ideas of recursive vs. iterative procedures, etc. But I\'m getting t[详细]
2023-03-11 14:31 分类:问答Sort two list with the elements in an increasing order
The question requires me to Complete the Scheme function merge, which consume开发者_JAVA百科s two lists of sorted numbers (in an increasing order) and produces a list of numbers which consists of all[详细]
2023-03-11 11:53 分类:问答ANTLR: grammar for the R5RS lexical structure, problem with numbers
i\'m implementing an IDE for scheme in eclipse using DLTK. So far, i am programming the grammar to recognize the lexical structure.[详细]
2023-03-11 10:26 分类:问答defining a procedure using graphics-draw-line
Can you see what is wrong with this: (define (box d x1 y1 x2 y2)( (graphics-draw-line d x1 y1 x1 y2) (graphics-draw-line d x1 y2 x2 y2)[详细]
2023-03-11 07:44 分类:问答