[plt-scheme] lang for Project Euler?

From: Sam TH (samth at ccs.neu.edu)
Date: Sun Feb 22 09:12:28 EST 2009

On Sun, Feb 22, 2009 at 7:38 AM, e <eviertel at gmail.com> wrote:
> Hi, I was thinking of doing project euler (http://projecteuler.net) in plt
> scheme. For the first problem, I wanted to use a typical "range" function
> and noticed it isn't built in  (at least under that name).  What I'm
> wondering is if there's some #lang I should probably be using to give me
> many of the goodies I'd expect to have (not that it is hard to implement
> range).  Again, I realize I'm still jumping in w/out doing much reading
> first :).

You should probably use `#lang scheme'.

As for range, you should look either at `build-list', as Robby
suggested, if you want a data structure, or at `in-range' if you want
to loop over the numbers.

sam th
samth at ccs.neu.edu

Posted on the users mailing list.