Re: [racket-users] Questions on HtDP 2e, Ex. 356

2017-07-19 Thread Matthias Felleisen
Hi Ben, as Jens has pointed out, it pays off to read the context of an exercise (like in the real world). The second exercise states > If the terminology poses any difficulties, do re-read BSL Grammar. where “BSL Grammar” is a link that explains BSL via a data definition (that’s what a gram

Re: [racket-users] Questions on HtDP 2e, Ex. 356

2017-07-13 Thread Jens Axel Søgaard
> I hope this is heading in the right direction. Looks fine to me. -- 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. Fo

Re: [racket-users] Questions on HtDP 2e, Ex. 356

2017-07-12 Thread Ben Morin
Hi Jens Thanks for the reply. I was working through it with some free time today, and I think my data definition works. The other big problem I was having was the body for the user-defined function. As you said, ex 356 isn't concerned about that aspect. This is what was/is throwing me off. My

Re: [racket-users] Questions on HtDP 2e, Ex. 356

2017-07-12 Thread Jens Axel Søgaard
Hi Ben, Adding syntax for both applications, user defined functions and adding evaluation of these in the same execise, is a bit much. It is therefore split up into exercise 356, 357, 358 and 359. Exercise 356 is only about extending the data definition such that applications can be represented.

[racket-users] Questions on HtDP 2e, Ex. 356

2017-07-12 Thread Ben Morin
I've been working my way through HtDP on and off over the past several months. I've generally been able to figure it out on my own (even if it takes awhile). However, Intertwined Data has given me a couple problems that I just can't seem to wrap my head around. The major one is 21.3 "Interpreti