A community for students.
Here's the question you clicked on:
 0 viewing
fapw
 2 years ago
Help me please to choose sceme editor. I use PLT scheme,but there is an error i can't understand why it happened. Thanks.
PLT Scheme with procedure ti calculate fibonachi numbers
(define (fib n)
(if (< n 2)
n
(+ fib ( n 1)
fib ( n 2))))
and (fib 10) type error
+: expects type <number> as 1st argument, given: #<procedure:fib>; other arguments were: 9 #<procedure:fib> 8.
Help please. Thanks.
fapw
 2 years ago
Help me please to choose sceme editor. I use PLT scheme,but there is an error i can't understand why it happened. Thanks. PLT Scheme with procedure ti calculate fibonachi numbers (define (fib n) (if (< n 2) n (+ fib ( n 1) fib ( n 2)))) and (fib 10) type error +: expects type <number> as 1st argument, given: #<procedure:fib>; other arguments were: 9 #<procedure:fib> 8. Help please. Thanks.

This Question is Closed

fapw
 2 years ago
Best ResponseYou've already chosen the best response.0Maybe Dr.Scheme dont use mitscheme syntaxis? Tell me please what editor should i use, Thanks.

fapw
 2 years ago
Best ResponseYou've already chosen the best response.0Found mt\gnu scheme...http://www.gnu.org/software/mitscheme/
Ask your own question
Sign UpFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.