Re: when, good people, will you provide a racket download for ubuntu users that are on the recent version lucid (10.04)? It's impossible to teach without it. Or should we stay with scheme?
Respectfully, and thanks for all your fine works, John Wagner On Sat, Sep 4, 2010 at 1:49 PM, <users-requ...@racket-lang.org> wrote: > Send users mailing list submissions to > users@racket-lang.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.racket-lang.org/users/listinfo > or, via email, send a message with subject or body 'help' to > users-requ...@racket-lang.org > > You can reach the person managing the list at > users-ow...@racket-lang.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of users digest..." > > > [Please handle Racket list administrative tasks through the Web: > http://lists.racket-lang.org/listinfo/users] > > Today's Topics: > > 1. Shurely Shome Mishtake (wooks .) > 2. Re: Shurely Shome Mishtake (Robby Findler) > 3. Re: Shurely Shome Mishtake (Matthias Felleisen) > 4. Re: Shurely Shome Mishtake (Neil Van Dyke) > 5. Re: Shurely Shome Mishtake (wooks .) > 6. Re: Shurely Shome Mishtake (Noel Welsh) > 7. Re: Shurely Shome Mishtake (YC) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 4 Sep 2010 21:22:07 +0100 > From: "wooks ." <woo...@hotmail.com> > To: <users@racket-lang.org> > Subject: [racket] Shurely Shome Mishtake > Message-ID: <snt116-w5223789b6bf264cb4916eec0...@phx.gbl> > Content-Type: text/plain; charset="iso-8859-1" > > > (case 8 > ((8 9 10) 'hello) > (else 'goodbye)) -> hello > > (case "8" > (("8" "9" "10") 'hello) > (else 'goodbye)) -> goodbye > > I'm working in Pretty Big > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.racket-lang.org/users/archive/attachments/20100904/6d4344b7/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Sat, 4 Sep 2010 15:28:18 -0500 > From: Robby Findler <ro...@eecs.northwestern.edu> > To: "wooks ." <woo...@hotmail.com> > Cc: users <users@racket-lang.org> > Subject: Re: [racket] Shurely Shome Mishtake > Message-ID: > > <aanlktikd11bo4ffpe3wtns+ocwrviez1fjf-2g380...@mail.gmail.com<aanlktikd11bo4ffpe3wtns%2bocwrviez1fjf-2g380...@mail.gmail.com> > > > Content-Type: text/plain; charset=UTF-8 > > No mistake. case uses eqv? for comparison (on the quoted thing in each > clause). > > > http://docs.racket-lang.org/reference/case.html?q=case#%28form._%28%28lib._racket/private/more-scheme..rkt%29._case%29%29 > > Robby > > On Sat, Sep 4, 2010 at 3:22 PM, wooks . <woo...@hotmail.com> wrote: > > (case 8 > > ? ((8 9 10) 'hello) > > ? (else 'goodbye)) -> hello > > > > (case "8" > > ? (("8" "9" "10") 'hello) > > ? (else 'goodbye)) -> goodbye > > > > I'm working in Pretty Big > > > > > > _________________________________________________ > > ?For list-related administrative tasks: > > ?http://lists.racket-lang.org/listinfo/users > > > > > ------------------------------ > > Message: 3 > Date: Sat, 4 Sep 2010 16:29:59 -0400 > From: Matthias Felleisen <matth...@ccs.neu.edu> > To: "wooks ." <woo...@hotmail.com> > Cc: users@racket-lang.org > Subject: Re: [racket] Shurely Shome Mishtake > Message-ID: <0837c8fc-6abe-4cee-aedb-3e37fc455...@ccs.neu.edu> > Content-Type: text/plain; charset=us-ascii > > > No this is correct: > > Welcome to DrRacket, version 5.0.1.5--2010-09-02(7fead28/g) [3m]. > Language: Pretty Big; memory limit: 512 MB. > > (eqv? 8 8) > #t > > (eqv? "8" "8") > #f > > > > Plus read the docs on case. > > > On Sep 4, 2010, at 4:22 PM, wooks . wrote: > > > (case 8 > > ((8 9 10) 'hello) > > (else 'goodbye)) -> hello > > > > (case "8" > > (("8" "9" "10") 'hello) > > (else 'goodbye)) -> goodbye > > > > I'm working in Pretty Big > > > > _________________________________________________ > > For list-related administrative tasks: > > http://lists.racket-lang.org/listinfo/users > > > > ------------------------------ > > Message: 4 > Date: Sat, 04 Sep 2010 16:35:50 -0400 > From: Neil Van Dyke <n...@neilvandyke.org> > To: "wooks ." <woo...@hotmail.com> > Cc: users@racket-lang.org > Subject: Re: [racket] Shurely Shome Mishtake > Message-ID: <4c82ada6.5060...@neilvandyke.org> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > wooks . wrote at 09/04/2010 04:22 PM: > > (case "8" > > (("8" "9" "10") 'hello) > > (else 'goodbye)) -> goodbye > > Unfortunately, you can't use "case" on strings, for somewhat esoteric > reasons: > > http://docs.racket-lang.org/reference/case.html > http://docs.racket-lang.org/reference/eval-model.html#(part._model-eq)<http://docs.racket-lang.org/reference/eval-model.html#%28part._model-eq%29> > > The R5RS document gives some more explanation and examples of what can > be compared with eq/eqv/equal: > > http://docs.racket-lang.org/r5rs-std/r5rs-Z-H-9.html#%_sec_6.1 > > You might find that "cond" or a hashtable can be used instead. Or maybe > you don't actually need strings at this point in the code, and there is > a better way to do it. > > -- > http://www.neilvandyke.org/ > > > ------------------------------ > > Message: 5 > Date: Sat, 4 Sep 2010 21:40:56 +0100 > From: "wooks ." <woo...@hotmail.com> > To: <matth...@ccs.neu.edu> > Cc: users@racket-lang.org > Subject: Re: [racket] Shurely Shome Mishtake > Message-ID: <snt116-w126a4d8c245b2ac4bff6c1c0...@phx.gbl> > Content-Type: text/plain; charset="iso-8859-1" > > > One mans correct is another mans WAD (Works as Designed). > > > Subject: Re: [racket] Shurely Shome Mishtake > > From: matth...@ccs.neu.edu > > Date: Sat, 4 Sep 2010 16:29:59 -0400 > > CC: users@racket-lang.org > > To: woo...@hotmail.com > > > > > > No this is correct: > > > > Welcome to DrRacket, version 5.0.1.5--2010-09-02(7fead28/g) [3m]. > > Language: Pretty Big; memory limit: 512 MB. > > > (eqv? 8 8) > > #t > > > (eqv? "8" "8") > > #f > > > > > > > Plus read the docs on case. > > > > > > On Sep 4, 2010, at 4:22 PM, wooks . wrote: > > > > > (case 8 > > > ((8 9 10) 'hello) > > > (else 'goodbye)) -> hello > > > > > > (case "8" > > > (("8" "9" "10") 'hello) > > > (else 'goodbye)) -> goodbye > > > > > > I'm working in Pretty Big > > > > > > _________________________________________________ > > > For list-related administrative tasks: > > > http://lists.racket-lang.org/listinfo/users > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.racket-lang.org/users/archive/attachments/20100904/f22b28d5/attachment-0001.html > > > > ------------------------------ > > Message: 6 > Date: Sat, 4 Sep 2010 21:47:23 +0100 > From: Noel Welsh <noelwe...@gmail.com> > To: "wooks ." <woo...@hotmail.com> > Cc: users@racket-lang.org > Subject: Re: [racket] Shurely Shome Mishtake > Message-ID: > <aanlktimfa_feu7hryo3rdn=cqtv=xz9utfy8ys1yw...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > On Sat, Sep 4, 2010 at 9:40 PM, wooks . <woo...@hotmail.com> wrote: > > One mans correct is another mans WAD (Works as Designed). > > The semantics of case are a bit annoying at times. To guess as the > reason for this, I suspect it is to allow efficient implementation for > switching on numbers and the like. There is cond for everything else. > > HTH, > N. > > > ------------------------------ > > Message: 7 > Date: Sat, 4 Sep 2010 13:49:12 -0700 > From: YC <yinso.c...@gmail.com> > To: "wooks ." <woo...@hotmail.com> > Cc: users@racket-lang.org, matth...@ccs.neu.edu > Subject: Re: [racket] Shurely Shome Mishtake > Message-ID: > <aanlkti=zjookcksbcjs71yjwsvruzhtwqlxr46ive...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > I don't know whether planet modules can be used within Pretty Big, but I > have a case/equal? and a case/string-ci=? defined in my bzlib/base module - > feel free to try it out or take a look at it (in base.ss). > > > (require (planet bzlib/base)) > > (case/equal? "abc" > (("def" "ghi" "ijk") 1) > (("abc") 2) > (else 3)) > 2 > > (case/string-ci=? "abc" > (("def" "ghi" "ijk") 1) > (("ABC") 2) > (else 3)) > 2 > > > On Sat, Sep 4, 2010 at 1:40 PM, wooks . <woo...@hotmail.com> wrote: > > > One mans correct is another mans WAD (Works as Designed). > > > > > Subject: Re: [racket] Shurely Shome Mishtake > > > From: matth...@ccs.neu.edu > > > Date: Sat, 4 Sep 2010 16:29:59 -0400 > > > CC: users@racket-lang.org > > > To: woo...@hotmail.com > > > > > > > > > > > No this is correct: > > > > > > Welcome to DrRacket, version 5.0.1.5--2010-09-02(7fead28/g) [3m]. > > > Language: Pretty Big; memory limit: 512 MB. > > > > (eqv? 8 8) > > > #t > > > > (eqv? "8" "8") > > > #f > > > > > > > > > > Plus read the docs on case. > > > > > > > > > On Sep 4, 2010, at 4:22 PM, wooks . wrote: > > > > > > > (case 8 > > > > ((8 9 10) 'hello) > > > > (else 'goodbye)) -> hello > > > > > > > > (case "8" > > > > (("8" "9" "10") 'hello) > > > > (else 'goodbye)) -> goodbye > > > > > > > > I'm working in Pretty Big > > > > > > > > _________________________________________________ > > > > For list-related administrative tasks: > > > > http://lists.racket-lang.org/listinfo/users > > > > > > > _________________________________________________ > > For list-related administrative tasks: > > http://lists.racket-lang.org/listinfo/users > > > > > > -- > Cheers, > yc > > Taming the software dragon - http://dragonmaestro.com > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.racket-lang.org/users/archive/attachments/20100904/881545a4/attachment.html > > > > End of users Digest, Vol 61, Issue 13 > ************************************* > -- John Wagner Alhambra and Los Angeles
_________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users