Re: [racket] Scribble change, especially affects `scribble/sigplan'

2011-03-30 Thread Eli Barzilay
Four hours ago, Matthew Flatt wrote: > I forgot to check `scribble/jfp'. It looks like extra space would > make sense for that one, too --- analogous to the extra space for > \quote{}. Going back to the copyright issues -- is this a good time to get rid of the two offending latex files? I'm think

Re: [racket] HTDP 17.1.2; applying methodology to imperative languages

2011-03-30 Thread Matthias Felleisen
On Mar 30, 2011, at 10:10 PM, Jay wrote: > Hi, > > I have two unrelated questions, and I hope no one will mind my bundling them > together: > > 1) I'm stumped by the "cross" problem (17.1.2). Although I did manage to dig > up someone else's solution, and do understand it, I would never have

[racket] HTDP 17.1.2; applying methodology to imperative languages

2011-03-30 Thread Jay
Hi, I have two unrelated questions, and I hope no one will mind my bundling them together: 1) I'm stumped by the "cross" problem (17.1.2). Although I did manage to dig up someone else's solution, and do understand it, I would never have recognized it from the problem description as an instanc

Re: [racket] Scribble change, especially affects `scribble/sigplan'

2011-03-30 Thread Matthew Flatt
Thanks! Scribble now uses those for code insets, and it now seems to adapt correctly to different Latex styles. At Wed, 30 Mar 2011 18:59:05 -0500, Robby Findler wrote: > \abovedisplayskip and \belowdisplayskip? > > Robby > > On Wednesday, March 30, 2011, Matthew Flatt wrote: > > I know about `

Re: [racket] Scribble change, especially affects `scribble/sigplan'

2011-03-30 Thread Robby Findler
\abovedisplayskip and \belowdisplayskip? Robby On Wednesday, March 30, 2011, Matthew Flatt wrote: > I know about `\parskip' for paragraph spacing. Is there something > similar in [La]TeX for space around a display? > > At Wed, 30 Mar 2011 17:40:22 -0500, Robby Findler wrote: >> Oh. So inter-para

Re: [racket] Scribble change, especially affects `scribble/sigplan'

2011-03-30 Thread Matthew Flatt
I know about `\parskip' for paragraph spacing. Is there something similar in [La]TeX for space around a display? At Wed, 30 Mar 2011 17:40:22 -0500, Robby Findler wrote: > Oh. So inter-paragraph space is the same thing as the > space-around-a-display? (I think at the TeX level they are different,

Re: [racket] Scribble change, especially affects `scribble/sigplan'

2011-03-30 Thread Matthew Flatt
The `scribble/base' and `scribble/manual' styles already put space between blocks, and so no extra space is needed. The SIGPLAN style, in contrast, uses indentation instead of space between paragraphs. (Actually, the SIGPLAN style has an option for using space between paragraphs, and probably code

Re: [racket] Scribble change, especially affects `scribble/sigplan'

2011-03-30 Thread Robby Findler
Oh. So inter-paragraph space is the same thing as the space-around-a-display? (I think at the TeX level they are different, but maybe that's only to make things more customizable?) Robby On Wed, Mar 30, 2011 at 5:38 PM, Matthew Flatt wrote: > The `scribble/base' and `scribble/manual' styles alre

Re: [racket] Scribble change, especially affects `scribble/sigplan'

2011-03-30 Thread Robby Findler
This sounds great! One small question: why only in sigplan conf and not in all --pdf generated racketblock's? Robby On Wed, Mar 30, 2011 at 3:31 PM, Matthew Flatt wrote: > As of v5.1.0.5, Scribble renders `racketblock', `codeblock', > `interactions', etc., in a different way than before. Indenta

[racket] Scribble change, especially affects `scribble/sigplan'

2011-03-30 Thread Matthew Flatt
As of v5.1.0.5, Scribble renders `racketblock', `codeblock', `interactions', etc., in a different way than before. Indentation relative to surrounding text is now implemented by a nested-flow style, instead of adding spaces to the start of each line. (Using spaces was a hack from before sorting out

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread Dorai Sitaram
Yes, go ahead! regards, --dorai On Wed, Mar 30, 2011 at 12:00 PM, Matthias Felleisen wrote: > > On Mar 30, 2011, at 11:20 AM, Prabhakar Ragde wrote: > > > Matthias wrote: > > > Do you think these give a better explanation of macros? On the > whole, I have found Teach Yourself Scheme re

Re: [racket] Racket on Centos 5

2011-03-30 Thread keyd...@gmx.de
Hi Erich, thanks for the hint - this is a VERY cool tool indeed! Good to know even in case it won't work in my current circumstances...! Unfortunately I don't have much time to invest today - I just made a short test and discovered that while my Linux "source" is 64bit, my VirtualBox RedHat ap

Re: [racket] Racket on Centos 5

2011-03-30 Thread keyd...@gmx.de
Hi Noel, thanks for the hint, that seems to work! Of course, it would be nicer to have drracket available, so I will try a different kind of workaround first now, where I connect to the Red Hat VirtualBox appliance from my Macintosh host, having racket running on the host. But as a last resort,

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread Sam Tobin-Hochstadt
On Wed, Mar 30, 2011 at 12:23 PM, Matthew Flatt wrote: > At Wed, 30 Mar 2011 11:20:30 -0400, Prabhakar Ragde wrote: >> This comment is about more than macros: Since students are often drawn >> to TYS even though I never mention it to them, I've always been tempted >> to "translate" TYS into what i

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread Matthew Flatt
At Wed, 30 Mar 2011 11:20:30 -0400, Prabhakar Ragde wrote: > This comment is about more than macros: Since students are often drawn > to TYS even though I never mention it to them, I've always been tempted > to "translate" TYS into what is now Racket, not just literally but with > some of the Ht

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread Matthias Felleisen
On Mar 30, 2011, at 11:20 AM, Prabhakar Ragde wrote: > Matthias wrote: > Do you think these give a better explanation of macros? On the whole, I have found Teach Yourself Scheme relatively easy to follow. >> Yes, but when it comes to macros, it espouses a view that was never >> co

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread Prabhakar Ragde
Matthias wrote: Do you think these give a better explanation of macros? On the whole, I have found Teach Yourself Scheme relatively easy to follow. Yes, but when it comes to macros, it espouses a view that was never compatible with any Report on Scheme and is even old-school for plain Lisp. If

Re: [racket] formlets and validation

2011-03-30 Thread Jay McCarthy
2011/3/29 Eric Tanter : > Hi, > > I'm exploring formlets (enjoying them for the most part!), and I'm wondering > what is the best way to handle input validation. Following the tutorial/guide > on formlets results in the web app throwing exceptions whenever > formlet-process encounters improper b

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread Matthias Felleisen
On Mar 30, 2011, at 6:29 AM, John Sampson wrote: > Do you think these give a better explanation of macros? On the whole, I have > found Teach Yourself Scheme > relatively easy to follow. Yes, but when it comes to macros, it espouses a view that was never compatible with any Report on Scheme an

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread Jens Axel Søgaard
2011/3/30 John Sampson : > Hello - > > I am going through TYSIFD which is said to be compatible with mzScheme. > > Descriptions of macros seem to be different depending which book one reads. > TYSIFD advises the reader to 'require' the defmacro library > - '(require (lib "defmacro.rkt"))' when usin

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread Pierpaolo Bernardi
On Wed, Mar 30, 2011 at 11:31, John Sampson wrote: > Hello - > > I am going through TYSIFD which is said to be compatible with mzScheme. > > Descriptions of macros seem to be different depending which book one reads. > TYSIFD advises the reader to 'require' the defmacro library > - '(require (li

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread Pierpaolo Bernardi
On Wed, Mar 30, 2011 at 12:29, John Sampson wrote: > Do you think these give a better explanation of macros? On the whole, I have > found Teach Yourself Scheme > relatively easy to follow. I read TYSIFD many years ago and I don't remember exactly what it says about macros. >From your first post

[racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread John Sampson
Do you think these give a better explanation of macros? On the whole, I have found Teach Yourself Scheme relatively easy to follow. Regards _John Sampson_ On 30/03/2011 10:44, Pierpaolo Bernardi wrote: On Wed, Mar 30, 2011 at 11:31, John Sampson wrote: What is the best source for learning

Re: [racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread Pierpaolo Bernardi
On Wed, Mar 30, 2011 at 11:31, John Sampson wrote: > What is the best source for learning about macros in Racket, assuming no > previous > knowledge of macros? Have you already tried the Getting Started docs in the Help Desk? _ For list-related a

[racket] Newbie question: Teach Yourself Scheme in Fixnum Days - macros

2011-03-30 Thread John Sampson
Hello - I am going through TYSIFD which is said to be compatible with mzScheme. Descriptions of macros seem to be different depending which book one reads. TYSIFD advises the reader to 'require' the defmacro library - '(require (lib "defmacro.rkt"))' when using Racket (I assume) - and gives the