Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
コードを書きましたがadd1、Scheme で使用した関数が R5RS では機能しないため、機能しません。add1R5RSで何を置き換えることができますか?
add1
手順add1は非常に簡単で、自分で実装できます。
(define (add1 x) (+ x 1))
遅い答えですが、代替手段は(ラムダを利用する) ..
(define add1 (lambda (x) (+ x 1)))