• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Scheme

azuro

n00b
Joined
Dec 14, 2002
Messages
62
Here's the function
Code:
(define not-divisible? 
   	(lambda (n)
   	... some code...
       ))

if I called the above function using:

Code:
 (display ((not-divisible? 5) 10))

how do I get the value "10" within the function??

Thanks.
 
Well, one way is to add a second parameter to the lambda inside of not-divisible? If you have to use that exact template, you'll have to use curried lambda's.
 
Back
Top