Okay so I am trying to take in a list and sort it from greatest to smallest. Example: > (maxheap (list 5 6 2 1 18 7))
Okay this may sound like a ridiculous question, but how do you return 开发者_StackOverflow中文版a list in scheme.?Based on seeing some of your other questions, I think you may be having trouble gettin
Okay one of my homework problems is to take a list of lists and return the car of each sublist as a list. I have it to where I can print开发者_如何学Go out the values, but it\'s not a list. To be hone
How do I remove the first element from a list, in Scheme? Su开发者_如何学Goppose I have the following list
I see that SRFI 4 does not mention resizing of vectors. I\'m using f64vectors (for which I need fast access), and I\'d like to be able to resize them quickly (similar to what realloc does in C), and n
What is the standard way to throw and catch excepti开发者_开发问答ons in R6RS Scheme?I\'m looking for syntax that works in any version of Scheme (not just PLT) that implements R6RS.
I am trying to implement Fermat\'s factorization (Algorithm C in The Art of Computer Programming, Vol. 2). Unfortunately in my edition (ISBN 81-7758-335-2), this algorithm is printed incorrectly. what
I want to define a method that take an integer as input and creates dynamically a list of all descending integ开发者_高级运维er numbers to zero. I find trouble into calling method for the n-1 elementI
I\'ll be starting a new job soon where Scheme is heavily used. I curr开发者_StackOverflow社区ently do not know Scheme, but my employer assures me that is not a problem.
I\'ve been coding for a few years now, nothing too complicated. C++ is what I know best. I recently stumbled into Paul Graham\'s site, coding horror, and now here.