Re: [racket] #lang

2011-05-15 Thread Stephen Bloch
Eli writes: >> I'd rather have my >> students' files start with >> #lang bsl >> or >> #lang isll >> or something, as long as my students don't need to SEE that. > > -1. I presume the part you don't like is "my students don't need to SEE that"? I'm not suggesting that the choice of language sho

Re: [racket] #lang

2011-05-15 Thread Jos Koot
Racket is not a language, it is a collection of languages (MHO) I am very pleased with the #lang or #!... line on top of my modules. I must admit that I run all of my programs under control of DrRacket, although I don't have much problems running my programs by means of Gracket.exe nor by making ex

Re: [racket] #lang

2011-05-15 Thread Prabhakar Ragde
Shriram wrote: (Btw, could you use a mail reader that preserves threads?) I read the digest versions of Racket mailing lists, and I have to explicitly do this (as with this message) by manually copying the Message-ID field. Furthermore, I had to learn how to configure Thunderbird to give me

[racket] Where Are List/Container Operations Headed?

2011-05-15 Thread Deren Dohoda
Please forgive my ignorance on this matter. (cons value list) --- Well, makes intuitive sense to put the container second here. (map proc list) --- Reads like English. (foldl proc init list) --- Hmm, I guess the association with "map" makes this understandable. (take list 2) (drop list 2) --- OK,

Re: [racket] Getting started with R6RS

2011-05-15 Thread Grant Rettke
On Sat, May 14, 2011 at 8:26 AM, Elliott Cable wrote: > I have an inbuilt disrespect for graphical IDEs.) Why? > I’m only using Racket because it was the only R6RS-compilant compiler I could > find that would build on > Lion with any amount of coaxing. Ikarus was painful? > At some point in t

Re: [racket] Getting started with R6RS

2011-05-15 Thread Grant Rettke
Oops that was supposed to be off list; sorry people. On Sun, May 15, 2011 at 4:31 PM, Grant Rettke wrote: > On Sat, May 14, 2011 at 8:26 AM, Elliott Cable wrote: >> I have an inbuilt disrespect for graphical IDEs.) > > Why? > >> I’m only using Racket because it was the only R6RS-compilant compil

Re: [racket] Getting started with R6RS

2011-05-15 Thread Elliott Cable
Woah! A lot of replies. I’ve been away from my computer; I’ll definitely come back and reply to all of your (quality!) questions and arguments when I have a little more time at the computer. I’m looking forward to it! _ For list-related administrat

Re: [racket] [ANN] "Portable" Racket Package

2011-05-15 Thread Grant Rettke
Nice, thanks. On Sat, May 14, 2011 at 7:06 AM, Thomas Chust wrote: > Hello, > > recently I had to work from different Windows machines carrying my > data and programs around on a USB drive. Of course I couldn't live > without a decent programming language available, so I put together a > "portabl

Re: [racket] Getting started with R6RS

2011-05-15 Thread Hendrik Boom
On Sat, May 14, 2011 at 03:22:59PM -0400, Neil Van Dyke wrote: > > In Scheme, the real activity of production use and R&D is around > implementations that start with R*5*RS and add their own very necessary > stuff atop that. Of those clusters of activity, I believe that Racket, > which could

Re: [racket] Getting started with R6RS

2011-05-15 Thread Hendrik Boom
On Sat, May 14, 2011 at 10:15:06PM -0400, Neil Van Dyke wrote: > Neil Van Dyke wrote at 05/14/2011 07:16 PM: >> Just to be clear, when I wish for R6RS to be shot in the gut and left >> to die painfully in a ditch, I mean that in the utmost nice and >> respectful way. :) R5RS was getting close

Re: [racket] Getting started with R6RS

2011-05-15 Thread Hendrik Boom
On Sat, May 14, 2011 at 06:35:18PM -0400, Eli Barzilay wrote: > 20 minutes ago, Elliott Cable wrote: > > > 2) The whole “languages” thing is nearly as off-putting as the > > DrScheme obsession, but in a different way. When I come across an > > instruction saying to add `#lang racket` or `#!r6rs` a

Re: [racket] Getting started with R6RS

2011-05-15 Thread Parnell Springmeyer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'll chime in here as a "semi-noob". The more I've learned Scheme and the more I've learned Racket (mix of the Schemer books, HTDP, personal projects, racket-lang docs) the more I'm seeing this specific issue as a cultural "thing" that has evolved - F

Re: [racket] Getting started with R6RS

2011-05-15 Thread Shriram Krishnamurthi
Sorry to get caught up on a detail, but: > It wasn't until a StackOverflow answer you gave me Eli, in which you > (literally) told me how to start the stepper (which involved changing > languages to one of the restricted student languages) to *see* how the > program executed a function that used c

Re: [racket] Getting started with R6RS

2011-05-15 Thread Deren Dohoda
> Elliot pointing out the Learn You A Haskell website and the Learn You > Some Erlang website was probably the most helpful part of this entire > email - the docs are great. DrRacket is great. The website design of the > docs are intuitive and focus the attention just right (I really do thing > thi

Re: [racket] Getting started with R6RS

2011-05-15 Thread Eli Barzilay
15 minutes ago, Shriram Krishnamurthi wrote: > Sorry to get caught up on a detail, but: > > > It wasn't until a StackOverflow answer you gave me Eli, in which you > > (literally) told me how to start the stepper (which involved changing > > languages to one of the restricted student languages) to

Re: [racket] Where Are List/Container Operations Headed?

2011-05-15 Thread Eli Barzilay
5 hours ago, Deren Dohoda wrote: > Please forgive my ignorance on this matter. > > (cons value list) > --- Well, makes intuitive sense to put the container second here. > (map proc list) > --- Reads like English. > (foldl proc init list) > --- Hmm, I guess the association with "map" makes this und

[racket] a couple of trivial Scribble questions

2011-05-15 Thread Prabhakar Ragde
I put the first example in section 1.1 of the Scribble documentation in Help Desk into a file test.scrbl in DrRacket (5.1.1). I can run it, and nothing happens. Should something? (I'll accept "No" as an answer, but then what does the Run button do?) And shouldn't there be a Check Syntax button?

Re: [racket] a couple of trivial Scribble questions

2011-05-15 Thread Matthew Flatt
At Sun, 15 May 2011 21:02:18 -0400, Prabhakar Ragde wrote: > I put the first example in section 1.1 of the Scribble documentation in > Help Desk into a file test.scrbl in DrRacket (5.1.1). I can run it, and > nothing happens. Should something? No... > (I'll accept "No" as an answer, but > the

Re: [racket] [ANN] "Portable" Racket Package

2011-05-15 Thread Neil Van Dyke
One could also make a *bootable* Racket workstation distro, and put it on a Swiss Army pocketknife. :) http://lildeb.org/ _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] a couple of trivial Scribble questions

2011-05-15 Thread Prabhakar Ragde
On 5/15/11 9:44 PM, Matthew Flatt wrote: Yes, Check Syntax should be there. More importantly, you should see buttons to generate HTML and PDF. If you open the document source again in DrRacket, do the buttons appear? Does editing and reverting the `#lang' line make them appear? That did it. T

Re: [racket] a couple of trivial Scribble questions

2011-05-15 Thread Robby Findler
On Sun, May 15, 2011 at 9:25 PM, Prabhakar Ragde wrote: > On 5/15/11 9:44 PM, Matthew Flatt wrote: > >> Yes, Check Syntax should be there. More importantly, you should see >> buttons to generate HTML and PDF. >> >> If you open the document source again in DrRacket, do the buttons >> appear? Does e

Re: [racket] Typed Racket - Setof assertions

2011-05-15 Thread Sam Tobin-Hochstadt
On Sat, May 14, 2011 at 4:05 PM, Sam Tobin-Hochstadt wrote: > On Sat, May 14, 2011 at 3:57 PM, Ray Racine wrote: >> Sam, >> Tried it.  What am I missing?  Thanks. >> #lang typed/racket >> (require >>  (except-in racket/set >>    set/c)) >> (define-predicate setof-string?  (Setof String)) >> racke