Open nbl-natsoft opened 3 months ago
Also fix exercise15 (it actually asks to make the function I describe above), name the function '==>' (it's a valid name in Racket)
You have misunderstood the question. Let me rephrase it as such: Define a function
can-i-go-today
that takes 2 argumentssunny
andfriday
, the function returns #true if either 'sunny' is false or 'friday' is true, otherwise the function returns #false Note: 'sunny' and 'friday' are booleans
question says to define an expression, can define function but not told to do that
You have misunderstood the question. Let me rephrase it as such: Define a function
can-i-go-today
that takes 2 argumentssunny
andfriday
, the function returns #true if either 'sunny' is false or 'friday' is true, otherwise the function returns #false Note: 'sunny' and 'friday' are booleans