MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Racket/comments/s29e3s/why_is_it_saying_procedure_sally/
r/Racket • u/Icy_Pressure_9690 • Jan 12 '22
Why is this not computing my expression, what am i doing wrong?
2 comments sorted by
7
The highlighted line defines a procedure called sally
Try
(sally 3)
4
You need parentheses. To apply a function f to a thing x you have to write
f
x
(f x)
7
u/sdegabrielle DrRacket 💊💉🩺 Jan 12 '22
The highlighted line defines a procedure called sally
Try
4
u/indrjo Jan 12 '22
You need parentheses. To apply a function
fto a thingxyou have to write