Re: [racket] missing solution 20.1.2 ex:syn-funcs

2014-09-15 Thread Daniel Bastos
On Mon, Sep 8, 2014 at 9:51 PM, Matthias Felleisen wrote: On Sep 2, 2014, at 12:05 PM, Daniel Bastos wrote: > > > Exercise 20.1.2. Argue why the following sentences are legal > > definitions: > > > > (define (f x) (x 10)) > > > > (define (f x) f) > > > > (define (f x y) (x 'a y 'b)) > > > > Solut

Re: [racket] missing solution 20.1.2 ex:syn-funcs

2014-09-08 Thread Matthias Felleisen
On Sep 2, 2014, at 12:05 PM, Daniel Bastos wrote: > Exercise 20.1.2. Argue why the following sentences are legal > definitions: > > (define (f x) (x 10)) > > (define (f x) f) > > (define (f x y) (x 'a y 'b)) > > Solution. The relevant part of the grammar is the following. > > = (define (