Re: [racket] Fw: Scribble url/hyperlink

2010-09-03 Thread Mark Carter
- Original Message > From: Jay McCarthy > Are you requiring scribble/manual? What error makes you think it doesn't work? Ah, I see! I had been using #lang scribble/base instead of #lang scribble/manual Changing it makes things right. Many thanks! _

Re: [racket] SIGSEGV MAPERR si_code 1 fault on addr 0x4

2010-09-03 Thread Todd O'Bryan
I run DrRacket on Ubuntu 10.04 with the build for Ubuntu Jaunty. If you're using 64-bit Ubuntu, you have to install the 32-bit support libraries since the binary is built for 32-bit, but that shouldn't have affected your compiled version. I have successfully run the most recent DrRacket on a lapto

[racket] setup-plt has lots of errors

2010-09-03 Thread Todd O'Bryan
Most of them look like this: STDERR build-again!-worker error: call-with-input-file: cannot open input file: "/var/tmp/racket/doc/slideshow/out.sxref" (No such file or directory; errno=2) = setup-plt: rendering: unstable/scribblings/unstable.scrbl WORKER ERROR call-with-input-file: cannot open

[racket] SIGSEGV MAPERR si_code 1 fault on addr 0x4

2010-09-03 Thread Jay Riddle
I am on Ubuntu 10.04(Lucid Lynx) and I have tried the install for Ubuntu Jaunty and I have also tried compiling from source(racket-clean-tree.tgz) which I downloaded today(9/3/2010). I can get racket to run with either install and I haven't run into issue there. However if I try to run drrack

Re: [racket] Fw: Scribble url/hyperlink

2010-09-03 Thread Jay McCarthy
Are you requiring scribble/manual? What error makes you think it doesn't work? Jay On Fri, Sep 3, 2010 at 2:49 PM, Mark Carter wrote: >  > �...@link["url"]{descriptive text} >> >  Thanks, but I still can't get it to work.  Here's what I typed: > �...@link["http://beginnersinvest.about.com/cs/val

[racket] Fw: Scribble url/hyperlink

2010-09-03 Thread Mark Carter
> @link["url"]{descriptive text} > Thanks, but I still can't get it to work. Here's what I typed: @link["http://beginnersinvest.about.com/cs/valueinvesting1/a/101302a.htm"]{Seven tests of Defensive Stock Selection} I've tried all sorts of variants, with quotes in various places, but noth

Re: [racket] understanding racket exceptions

2010-09-03 Thread Jay McCarthy
That's my understanding of it too. [Maybe modulo parameters rather than marks themselves.] Jay On Fri, Sep 3, 2010 at 12:05 PM, Danny Yoo wrote: > I'm about to try replicating Racket's exception system in WeScheme, so > I want to make sure I understood the model beforehand.  Here's my > understa

Re: [racket] Using Scheme to design C programs

2010-09-03 Thread Matthias Felleisen
If you understand HtDP, work thru PLAI (PLT's language course). Then look at EOPL (Dan's language course). You will learn to replicate Jon's thinking then and you will appreciate the power that comes with Racket. The list is helpful. Post questions, but not solutions to problems -- Matthias

[racket] understanding racket exceptions

2010-09-03 Thread Danny Yoo
I'm about to try replicating Racket's exception system in WeScheme, so I want to make sure I understood the model beforehand. Here's my understanding of the system, and if people can correct me, I'd greatly appreciate it! * Exception handlers are managed by keeping a chain of these handlers with

Re: [racket] Scribble url/hyperlink

2010-09-03 Thread Jay McCarthy
@link["url"]{descriptive text} Jay On Fri, Sep 3, 2010 at 11:14 AM, Mark Carter wrote: > I'm trying to write some documentation using Scribble. It looks quite good, > but > I'm having some problems with understanding how I express internal links. > Suppose my URL is http://www.google.com and I

[racket] Scribble url/hyperlink

2010-09-03 Thread Mark Carter
I'm trying to write some documentation using Scribble. It looks quite good, but I'm having some problems with understanding how I express internal links. Suppose my URL is http://www.google.com and I want the descriptive text to be Google Search Engine. How is it done in Scribble? __

Re: [racket] Using Scheme to design C programs

2010-09-03 Thread Neil Van Dyke
Before I started learning Scheme, I had a related but not as grand experience in a compilers course. I built my compiler in C++, but used MACROS FROM HELL for certain aspects. I incidentally found an improvement to the way everyone was implementing a certain algorithm, which was obvious in th

[racket] Using Scheme to design C programs

2010-09-03 Thread Mike G.
This may be old hat to some, but I just saw this short essay on Reddit and thought it was interesting. From 2000, the author writes about having used Scheme to design a C program that he could not have written from scratch. It also reminded me of some of the ideas from HtDP about programming as a