Re: [racket] News flash! Racket once again a legal choice for developing iPhone apps!

2010-09-14 Thread Mark Engelberg
Just curious, does wescheme support "universe" programs? If so, what does that support entail? Do you run both the server and client on the wescheme website, or can you run the universe server on wescheme and connect to it via desktop Racket running a universe client?

Re: [racket] News flash! Racket once again a legal choice for developing iPhone apps!

2010-09-14 Thread Shriram Krishnamurthi
Hosting on AppEngine. We don't get much choice in server technology. On Sep 14, 2010 9:53 PM, "namekuseijin" wrote: > On Tue, Sep 14, 2010 at 5:04 PM, Shriram Krishnamurthi wrote: >> Can't they already run WeScheme (www.wescheme.org)? Soon with #lang modules, >> etc. Save to the Web, access anyw

Re: [racket] News flash! Racket once again a legal choice for developing iPhone apps!

2010-09-14 Thread Danny Yoo
> well, for once, you're missing named lets... ;) Ok; named lets will be there very very soon. (The new backend does support it; I'm in the process of integrating the new backend with WeScheme.org.) _ For list-related administrative tasks: http:

Re: [racket] News flash! Racket once again a legal choice for developing iPhone apps!

2010-09-14 Thread namekuseijin
On Tue, Sep 14, 2010 at 5:04 PM, Shriram Krishnamurthi wrote: > Can't they already run WeScheme (www.wescheme.org)? Soon with #lang modules, > etc. Save to the Web, access anywhere, etc. What am I missing? curious... well, for once, you're missing named lets... ;) I wonder what's the deal with

Re: [racket] Looking for feedback on code style

2010-09-14 Thread Jos Koot
This means that even function add1 cannot always be concidered to be O(1). It may depend on the representation of numbers. In this sense I agree with you. Jos > -Original Message- > From: users-boun...@racket-lang.org > [mailto:users-boun...@racket-lang.org] On Behalf Of Stephen Bloch >

Re: [racket] News flash! Racket once again a legal choice for developing iPhone apps!

2010-09-14 Thread David G. Kay
> > Can't they already run WeScheme (www.wescheme.org)? Soon with #lang > modules, etc. Save to the Web, access anywhere, etc. What am I missing? On my iPhone, no keyboard comes up when I'm in the editor window. --DGK David G. Kay k...@uci.edu On Tue, Sep 14, 2010 at 1:04 PM, Shriram Krishnam

Re: [racket] handy trick for "amb-collect" desired

2010-09-14 Thread Thomas Chust
2010/9/14 Stefan Busch : > [...] > The teaching material I got from university gives the following exanple for > the usage > of amb-collect: > > *** > > ;;get all pairs of values von a and b, > ;;which have sum 7 >

Re: [racket] News flash! Racket once again a legal choice for developing iPhone apps!

2010-09-14 Thread Neil Van Dyke
Brent Fulgham wrote at 09/14/2010 03:55 PM: has provided each student with a personal iPad, think that DrScheme on the iPad would be a wonderful thing. Does the current Apple text prohibit PLaneT? -- http://www.neilvandyke.org/ _ For list-re

Re: [racket] News flash! Racket once again a legal choice for developing iPhone apps!

2010-09-14 Thread Shriram Krishnamurthi
Can't they already run WeScheme (www.wescheme.org)? Soon with #lang modules, etc. Save to the Web, access anywhere, etc. What am I missing? On Sep 14, 2010 3:56 PM, "Brent Fulgham" wrote: > Considering that the private Scottish Ceders School > (http://cedars.inverclyde.sch.uk/wiki/index.php?title

Re: [racket] News flash! Racket once again a legal choice for developing iPhone apps!

2010-09-14 Thread Brent Fulgham
Considering that the private Scottish Ceders School (http://cedars.inverclyde.sch.uk/wiki/index.php?title=Main_Page) has provided each student with a personal iPad, think that DrScheme on the iPad would be a wonderful thing. Imagine students being able to create and test applications using such a

Re: [racket] Looking for feedback on code style

2010-09-14 Thread Jos Koot
> -Original Message- > From: robby.find...@gmail.com > [mailto:robby.find...@gmail.com] On Behalf Of Robby Findler > Sent: 14 September 2010 17:16 > To: Stephen Bloch > Cc: Jos Koot; users@racket-lang.org > Subject: Re: [racket] Looking for feedback on code style > > I think that racke

Re: [racket] handy trick for "amb-collect" desired

2010-09-14 Thread Stefan Busch
Hello, at compile-time. Stefan Am 14.09.2010 18:42, schrieb Deren Dohoda: Stefan, Are you trying to pass a run-time list to amb? Or just (amb (list 1 2 3 ...)) at compile-time? Deren On Tue, Sep 14, 2010 at 12:10 PM, Stefan Busch wrote: Hello, of course I have to use amb-collect.

Re: [racket] handy trick for "amb-collect" desired

2010-09-14 Thread Stefan Busch
Hello, of course I have to use amb-collect. Maybe I didnt describe my problem properly. My intention is to pass the arguments to choose from in a list. The teaching material I got from university gives the following exanple for the usage of amb-collect: *

Re: [racket] handy trick for "amb-collect" desired

2010-09-14 Thread Thomas Chust
2010/9/14 Stefan Busch : > [...] > Your solution looked convincing to me, > but when I try e.g. > > (amb list (list 1 2 3 4)) > > it's not evaluated to the desired > > 1 2 3 4, > > but to > > 1. > [...] Hello, I assume you meant to say (amb-list ...) instead of (amb list ...). Of course this expr

Re: [racket] Looking for feedback on code style

2010-09-14 Thread Stephen Bloch
On Sep 14, 2010, at 10:37 AM, Jos Koot wrote: > The following measurement shows O(n). > But O(n) = O(C+n) where C may be a big number. More relevantly, O(n) is hard to distinguish experimentally from O(n log n). In particular, all the sizes you seem to tried are well within a machine word, so

Re: [racket] Looking for feedback on code style

2010-09-14 Thread Robby Findler
I think that racket guarantees that no vector has more elements than the size of the largest fixnum (to support optimizations). Also, Jos: you might want to use time-apply. Robby On Tue, Sep 14, 2010 at 9:56 AM, Stephen Bloch wrote: > > On Sep 14, 2010, at 10:37 AM, Jos Koot wrote: > >> The fol

Re: [racket] Looking for feedback on code style

2010-09-14 Thread Jos Koot
The following measurement shows O(n). But O(n) = O(C+n) where C may be a big number. Jos #lang racket #| (select k lor (randomize? #f)) -> r k : exact integer number. lor: non empty list of real numbers. randomize? : if false lor is supposed to be in random order. r :

Re: [racket] handy trick for "amb-collect" desired

2010-09-14 Thread Stefan Busch
Hello Will, thanks for your suggestion. Your solution looked convincing to me, but when I try e.g. (amb list (list 1 2 3 4)) it's not evaluated to the desired 1 2 3 4, but to 1. I think the problem is that the recursion doesn't work, because if in (amb (car list) (amb-list (cdr

Re: [racket] News flash! Racket once again a legal choice for developing iPhone apps!

2010-09-14 Thread Grant Rettke
On Tue, Sep 14, 2010 at 7:37 AM, Stephen De Gabrielle wrote: >> create and use their own interpreted languages within apps, as long as they >>aren't downloaded, > > DrScheme on the iPad? Racket apps on the iPad/iPhone/iPodTouch would be a "killer dev tool". >From a research side of things there

Re: [racket] News flash! Racket once again a legal choice for developing iPhone apps!

2010-09-14 Thread Stephen De Gabrielle
> create and use their own interpreted languages within apps, as long as they >aren't downloaded, DrScheme on the iPad? I'm joking. :) On Tuesday, September 14, 2010, Neil Van Dyke wrote: > John Clements wrote at 09/13/2010 11:44 PM: > > Again, this change would seem to be designed to allow d