I've written some code but it's not working because the add1
function I used in Scheme is not working with R5RS. What can replace add1
in R5RS?
相关问题
- Generating powerset in one function, no explicit r
- What is fixed point?
- How to include another file of definitions in curr
- unfold function in scheme
- returns the first n of list
相关文章
- Does learning one Lisp help in learning the other?
- What is “3D syntax”?
- What is the definition of “natural recursion”?
- How do I define a sub environment in scheme?
- Why is it legal in a function definition to make s
- Sending HTTP POST in Racket
- How to split list into evenly sized chunks in Rack
- Difference between OOP and Functional Programming
late answer but an alternative is (making use of lambdas)..
The procedure
add1
is very simple, you can implement it yourself: