scheme
When I define a function inside another function, I get a 'bad placement define' error
Here is my code: (require \'hash-table) (define (hash-table-get htable key) ((hash-inquirer equal?) htable key))[详细]
2023-03-25 00:15 分类:问答Why list-ref can not got the correct parameter?
I wrote a quick-sort in scheme (racket) #lang racket (define (quick-sort xs) (let* ([p (list-ref xs 0)] [tail (list-tail xs 1)][详细]
2023-03-23 13:32 分类:问答Continuation passing style makes things tail recursive?
It hurts to ask it here. It really does. Every time I search in vain for the answers to my troubles, I see it. Taunting me. Stack Overflow.[详细]
2023-03-23 05:57 分类:问答difference between free-identifier=? and bound-identifier=?
Trying to understand free-identifier=? and bound-identifier=?. Can anyone give me equivalent code examples wher开发者_C百科e using free-identifier=? would return true and using bound-identifier=? woul[详细]
2023-03-22 16:15 分类:问答Is it possible to write console applications in scheme?
Does anyone know of any semi-portable way to write console applications (e.g. basic animation) in scheme? I heard of an ncurses wrapper but I couldn\'t find anythi开发者_StackOverflow社区ng.You can\'t[详细]
2023-03-22 07:13 分类:问答Difference between OOP and Functional Programming (scheme) [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-03-21 06:14 分类:问答What is a good intermediate introduction to Scheme?
I am trying to find a resource where I can practice my programming skills in scheme. I have a class coming up that uses scheme exclusively. While I have done moderate amounts of programming in C++ a[详细]
2023-03-19 18:58 分类:问答how to create dynamic list of symbols and commands in scheme without using eval-string?
I am trying to make a function call using the data I read from an input file. I have the following function that takes a list of vertices and an arbitrary numbers of commands. (I simplified the functi[详细]
2023-03-18 22:53 分类:问答ikarus implementation of vector-map
This bit of code is in Ikarus\' implementation of vector-map: (let f ([p p] [v v] [i 0] [n (vector-length v)] [ac \'()])[详细]
2023-03-17 11:36 分类:问答Why can't GIMP handle this script?
I have this script as an .scm in Gimp: ;MIT license. (define (script-fu-export-layers img drw path outnameformat)[详细]
2023-03-16 08:09 分类:问答