The printed explanation is giving the meaning of the whole line (in the
context of the call to member) --- not just the meaning of the application
(null? lat)

Hope this helps


On Sat, Feb 25, 2017 at 11:17 AM, Kieron Hardy <kieron.ha...@gmail.com>
wrote:

> I'm going through The Little Schemer (Fourth Edition). On page 23 the
> first question posed asks:
>
> What is the meaning of the line
>
> ((null? lat) #f)
>
> where
> lat is (mashed potatoes and meat gravy)
> The printed explanation seems to be a misprint as it appears to be the
> answer to a different question:
>
> (null? lat) asks if lat is the null list. If it is, the value is #f, since
> the atom meat was not found in lat. If not, we ask the next question. In
> this case, it is not null, so we ask the next question .
> Is the printed answer wrong, or am I missing something?
>
> Cheers,
>
> Kieron
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to