Re: [racket] What boat is Racket?

2011-06-14 Thread Neil Van Dyke
http://www.hyperrealm.com/markl/lego/4031-large.jpg The default boat is pretty cool, but you can use its pieces to build a boat of your own design, too. Robby Findler wrote at 06/15/2011 12:32 AM: http://mendel.soup.io/post/138357929/If-a-programming-language-was-a-boat -- http://www.ne

Re: [racket] What boat is Racket?

2011-06-14 Thread Eli Barzilay
10 minutes ago, Robby Findler wrote: > http://mendel.soup.io/post/138357929/If-a-programming-language-was-a-boat http://goo.gl/IUK0Y -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! __

[racket] What boat is Racket?

2011-06-14 Thread Robby Findler
http://mendel.soup.io/post/138357929/If-a-programming-language-was-a-boat Robby _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] using scribble's evaluator for planet packages

2011-06-14 Thread Eli Barzilay
About two weeks ago, Danny Yoo wrote: > I survived in scribbling some documentation for a simple PLaneT > package. [...] > > It fails because the basic, default evaluator doesn't know about my > PLaneT package's bindings. Yes, this is a very-much-intended feature -- you don't want random example

Re: [racket] Does anyone know how to use launcher/launcher?

2011-06-14 Thread Eli Barzilay
5 hours ago, Danny Yoo wrote: > > I can see that an empty file has been constructed: > > > > > > fermi ~/work/whalesong $ ls -l hi > > -r-xr-xr-x 1 dyoo nogroup 0 Jun 14 15:49 hi* > > > > > > At the very least, the executable

Re: [racket] Typed Racket: limited polymorphism?

2011-06-14 Thread Ray Racine
Not bounded poly but still allows the type checker to catch ill typed attempts to make an undesirable node. Define the node structure and constructor in a library. Then use appropriate concrete constructor function(s) as needed. To make SN nodes etc. #lang typed/racket (struct: (α) Node ({lef

Re: [racket] Does anyone know how to use launcher/launcher?

2011-06-14 Thread Robby Findler
On Tue, Jun 14, 2011 at 3:24 PM, Danny Yoo wrote: >> I can see that an empty file has been constructed: >> >> >> fermi ~/work/whalesong $ ls -l hi >> -r-xr-xr-x 1 dyoo nogroup 0 Jun 14 15:49 hi* >> >> >> At the very least, t

Re: [racket] Typed Racket: limited polymorphism?

2011-06-14 Thread Sam Tobin-Hochstadt
On Tue, Jun 14, 2011 at 5:48 PM, Matthias Felleisen wrote: > > On Jun 14, 2011, at 5:41 PM, Sam Tobin-Hochstadt wrote: > >>> >> >> #lang typed/racket >> (define-type SN (U String Number)) >> (define-predicate sn? SN) >> (struct: (α) node ({left : α} {right : α})) >> >> (: create-node (All (β) (β β

Re: [racket] Typed Racket: limited polymorphism?

2011-06-14 Thread Matthias Felleisen
On Jun 14, 2011, at 5:41 PM, Sam Tobin-Hochstadt wrote: >> > > #lang typed/racket > (define-type SN (U String Number)) > (define-predicate sn? SN) > (struct: (α) node ({left : α} {right : α})) > > (: create-node (All (β) (β β -> (node SN > (define (create-node x y) > (if (and (sn? x) (sn?

Re: [racket] Typed Racket: limited polymorphism?

2011-06-14 Thread Sam Tobin-Hochstadt
On Tue, Jun 14, 2011 at 5:14 PM, Matthias Felleisen wrote: > > I would have expected that something like this might approximate what you > want: > > #lang typed/racket > > (define-type SN (U String Number)) > > (define-predicate sn? SN) > > (struct: (α) node ({left : α} {right : α})) > > (: creat

Re: [racket] Racketcon

2011-06-14 Thread Eric Tanter
+1! -- Éric On Jun 14, 2011, at 4:03 PM, Grant Rettke wrote: > On Tue, Jun 14, 2011 at 2:57 PM, Jos Koot wrote: >> Will it be possible to follow Racketcon via internet? > > Great idea. > _ > For list-related administrative tasks: > http://list

Re: [racket] Typed Racket: limited polymorphism?

2011-06-14 Thread Matthias Felleisen
I would have expected that something like this might approximate what you want: #lang typed/racket (define-type SN (U String Number)) (define-predicate sn? SN) (struct: (α) node ({left : α} {right : α})) (: create-node (All (β) (β β -> (node SN (define (create-node x y) (begin0 (no

Re: [racket] Does anyone know how to use launcher/launcher?

2011-06-14 Thread Danny Yoo
> I can see that an empty file has been constructed: > > > fermi ~/work/whalesong $ ls -l hi > -r-xr-xr-x 1 dyoo nogroup 0 Jun 14 15:49 hi* > > > At the very least, the executable bit is set.  I'm about to start > looking thr

Re: [racket] Racketcon

2011-06-14 Thread Grant Rettke
On Tue, Jun 14, 2011 at 2:57 PM, Jos Koot wrote: > Will it be possible to follow Racketcon via internet? Great idea. _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

[racket] Racketcon

2011-06-14 Thread Jos Koot
Hi Will it be possible to follow Racketcon via internet? Jos _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

[racket] Does anyone know how to use launcher/launcher?

2011-06-14 Thread Danny Yoo
I've been trying to use the launcher/launcher library: http://docs.racket-lang.org/raco/exe.html#(mod-path._launcher/launcher) in order to make nice, executable links. However, I'm running into some difficulty. I have a program in the current directory: $ cat hello.rkt #lang racket/base (

Re: [racket] Typed Racket: limited polymorphism?

2011-06-14 Thread Sam Tobin-Hochstadt
On Tue, Jun 14, 2011 at 12:35 PM, Richard Lawrence wrote: > > I have another question about whether something is possible in Typed > Racket.  What I would like to do is define a polymorphic structure where > the polymorphism is limited to a certain subset of types.  Again This is known as bounded

[racket] Typed Racket: limited polymorphism?

2011-06-14 Thread Richard Lawrence
Hi all, I have another question about whether something is possible in Typed Racket. What I would like to do is define a polymorphic structure where the polymorphism is limited to a certain subset of types. Again, I'm not sure I'm using the terminology correctly, so here's an example. Right now

Re: [racket] Tutorial: writing a language (brainf*ck) in Racket

2011-06-14 Thread Danny Yoo
>> One thing that I want to do is upload it somewhere more permanently, >> and to have all the documentation links work.  None of the >> Racket-bound documentation links are working, and I'd like to redirect >> those links off to docs.racket-lang.org instead. > > You want to use the --redirect-main

Re: [racket] Tutorial: writing a language (brainf*ck) in Racket

2011-06-14 Thread Sam Tobin-Hochstadt
On Tue, Jun 14, 2011 at 11:11 AM, Danny Yoo wrote: > One thing that I want to do is upload it somewhere more permanently, > and to have all the documentation links work.  None of the > Racket-bound documentation links are working, and I'd like to redirect > those links off to docs.racket-lang.org

Re: [racket] Tutorial: writing a language (brainf*ck) in Racket

2011-06-14 Thread Danny Yoo
> The dilemma was to choose a language that was simple, and looked > nothing like Racket.  The choice was clear: it had to be brainf*ck. > Here's the tutorial: > >     > http://planet.racket-lang.org/package-source/dyoo/bf.plt/1/2/planet-docs/manual/index.html One thing that I want to do is uploa

Re: [racket] Limit command-line Racket's memory

2011-06-14 Thread Tony Garnock-Jones
On 2011-06-14 10:43 AM, Matthew Flatt wrote: I'll look at your patches more soon. In cross-compiling mode, probably `configure' should just use whatever `racket' is installed rather than a specific path to some `rakcetcgc'. The reason for this is that OpenWRT doesn't depend much on what the sy

Re: [racket] Limit command-line Racket's memory

2011-06-14 Thread Matthew Flatt
At Mon, 13 Jun 2011 17:54:17 -0400, Tony Garnock-Jones wrote: > I've changed the build script, and now 3M Racket seems to be working on > the MIPS machine! Great! I'll look at your patches more soon. In cross-compiling mode, probably `configure' should just use whatever `racket' is installed rat

Re: [racket] Tutorial: writing a language (brainf*ck) in Racket

2011-06-14 Thread Grant Rettke
On Mon, Jun 13, 2011 at 12:36 PM, Danny Yoo wrote: > I've written a tutorial Thank you. _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Tutorial: writing a language (brainf*ck) in Racket

2011-06-14 Thread Deren Dohoda
It was a very good read. Maybe too many parentheticals to avoid technical errors? It is hard to comment until I try it myself. In any case, I think I needed something exactly like this, so thank you very much. Deren On Jun 13, 2011 1:38 PM, "Danny Yoo" wrote: > I've written a tutorial about how t

Re: [racket] what this compile time error mean?

2011-06-14 Thread Veer
Removing compiled directory also does not work , same error. I am upgrading my system and will download the racket again then check if problem still there. Thanks. On Tue, Jun 14, 2011 at 5:46 PM, Sam Tobin-Hochstadt wrote: > Probably you can fix the problem by removing the `compiled' directory

Re: [racket] what this compile time error mean?

2011-06-14 Thread Sam Tobin-Hochstadt
Probably you can fix the problem by removing the `compiled' directory from wherever "filename.rkt" is. On Tue, Jun 14, 2011 at 4:01 AM, Veer wrote: > Thanks for replying. > Problem still persist , even after running raco setup . > I did not compiled the racket from the source, I downloaded the bi

Re: [racket] what this compile time error mean?

2011-06-14 Thread Veer
Thanks for replying. Problem still persist , even after running raco setup . I did not compiled the racket from the source, I downloaded the binary package. When I run ~/racket/bin/racket filename.rkt in console , it runs fine , no problem there, but in DrRacket it show the same error : compile: a