Re: [racket] date format conversion

2011-02-12 Thread Matthias Felleisen
Start with http://www.ccs.neu.edu/home/matthias/HtDP2e/ When you run out of material, switch over to HtDP 1e. -- Matthias On Feb 12, 2011, at 9:55 PM, prad wrote: > Neil Van Dyke writes: > >> You might enjoy the HTDP textbook ("http://htdp.org/";), which teaches >> using tests like these

Re: [racket] date format conversion

2011-02-12 Thread prad
Neil Van Dyke writes: > You might enjoy the HTDP textbook ("http://htdp.org/";), which teaches > using tests like these as part of problem-solving process. we are going to get that book. we figure if people are decent enough to offer it for free on the net, the least we can do is to buy it. we

Re: [racket] date format conversion

2011-02-12 Thread Neil Van Dyke
prad wrote at 02/12/2011 08:54 PM: my son helped me understand what it was doing after we looked check-expect up. so this runs a function for you and checks to see that the result is really what you say it is going to be! that's pretty useful, so a second thx! This use of "check-expect"

Re: [racket] date format conversion

2011-02-12 Thread prad
Neil Van Dyke writes: > prad wrote at 02/12/2011 08:17 PM: >> is there a function which will convert >> "February 12, 2011" >> to >> "2011-02-12" > > Racket search turns up "string->date" and "date->string". You can use > them to define your new procedure like this... > > BEGIN > > #lang ra

Re: [racket] date format conversion

2011-02-12 Thread Neil Van Dyke
prad wrote at 02/12/2011 08:17 PM: is there a function which will convert "February 12, 2011" to "2011-02-12" Racket search turns up "string->date" and "date->string". You can use them to define your new procedure like this... BEGIN #lang racket/base (require srfi/19) (define (us-lo

[racket] date format conversion

2011-02-12 Thread prad
is there a function which will convert "February 12, 2011" to "2011-02-12" or do we need to write it ourselves? -- in friendship, prad _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users