[racket] Getting started with R6RS

From: Elliott Cable (me at ell.io)
Date: Sat May 14 15:20:37 EDT 2011

On Sat, May 14, 2011 at 9:34 AM, Sam Tobin-Hochstadt <samth at ccs.neu.edu> wrote:
> 1. You won't be able to put these in a single file and have it work.
> That's probably what's causing your problem.  The R6RS doesn't specify
> how libraries and top-level programs map to the file system.  In
> Racket, each R6RS library and each top-level program should be in a
> separate file.

Really? Jesus, I thought modern tools like Racket were trying to move
us *away* from the mistakes that Java et al. made. Maybe I was
mistaken.

On a more serious note: modular code, module systems in general, are
great. Thousands of files in a single project, many of which are less
than 100 lines of code, is *not* great. Multiple modules per file is
an absolute must, in my humble non-Schemer (yet.) opinion. (-:


On Sat, May 14, 2011 at 2:36 PM, Marco Maggi <marco.maggi-ipsu at poste.it> wrote:
> Elliott Cable wrote:
>> I'm  new to  both  Racket and  Scheme;  I've been  reading
>> through the R6RS, and I'm  trying to get started with some
>> simple code.
> You can  look at this simple  pure R6 package  which runs on
> most of the implementations, Racket included:
>
> <http://github.com/marcomaggi/infix>

I greatly appreciate that, Marco. I’ll give that a thorough
exploration; that’s the exact sort of code I’m trying to write.



Posted on the users mailing list.