On Wed, Aug 25, 2010 at 4:38 PM, Eli Barzilay wrote:
> IIUC, the intention of `execute' is to run stuff in some known
> context, where this is sometimes a temporary directory, and sometimes
> a batch job run on your cluster. So it looks easy to generalize it
> (for example, add some keyword) to d
And, just to be clear, you can look at the code in rep.rkt to see what
DrRacket does (altho it is pretty complex; there are a lot of cases).
It might help to know that the module-based language case is a fairly
simple case and that for other cases, probably the right thing is to
make the sandbox d
At Wed, 25 Aug 2010 19:52:17 -0400, Danny Yoo wrote:
> I see that the error messages regarding toplevel variables are
> slightly different, depending on context. e.g. set! can produce
> either the error message
>
> set!: unbound identifier in module in: x
That's a syntax error.
> or the mes
Just an idea, every REPL interaction sexp is wrapped in
#%top-interaction, that could be how it communicates to set!, but I
don't really know.
Jay
On Wed, Aug 25, 2010 at 5:52 PM, Danny Yoo wrote:
> I wanted to make sure I understand how toplevel variables, REPLs and
> namespaces work. I need t
I wanted to make sure I understand how toplevel variables, REPLs and
namespaces work. I need to understand this because what I'm doing in
WeScheme's REPL is not quite right because it doesn't match what is
happening with DrRacket's REPL.
I see that the error messages regarding toplevel variables
On 25.08.10 20:10, John Clements wrote:
IIUC, the basic problem here is that on the mac, many users don't start racket
from a terminal window, which means that there isn't a $PATH value to inherit.
One solution to this is (as I do) to simply start drracket from the
command-line. In this case,
On Aug 25, Kartik Agaram wrote:
> > * If you're talking about running racket, then you can use a flag
> > to set the initial language: "racket -I mzscheme".
>
> '$ racket -l mzscheme -f main.scm' turns out to be just what I
> wanted. Thanks!
(And you know that using `load' (which is what "-f" d
On Aug 24, 2010, at 6:58 AM, Jakub Piotr Cłapa wrote:
> This came up before and the environment.plist is mentioned in many places as
> the proper solution. It seems that Apple introduced /etc/paths.d for this but
> you found that it is not sufficient for GUI apps.
>
> OTOH a simple (getenv "PA
Bingo. With the combination of the right #lang and (import) stuff I am off
to the races.
I will certainly study the Guide, and other Racket specific docs. However, as
usual when I learn something new, I have to "fix" most of the variables and
proceed in a stable setting. Since I have start
The new way to deal with Windows icons works fine and is easy to use. Thanks
a lot Matthew!
(for those interested, search for "create-embedding-executable")
On Mon, Jun 28, 2010 at 19:54, Laurent wrote:
>
>
> On Mon, Jun 28, 2010 at 15:08, Matthew Flatt wrote:
>
>> At Sun, 27 Jun 2010 19:34:02
- Original Message
> From: Jay McCarthy
> I'm interested in figuring out what is overwhelming and alleviating
> it. Unless you're overwhelmed by its featurefullness ;)
Yes - there's just a lot to absorb all at once. The example blog for Racket is
very good. There's things that pu
Eli Barzilay writes:
> On Aug 25, Jim Wise wrote:
>> Matthias Felleisen writes:
>>
>> > Open DrRacket, choose Language, click radio button "Use the language
>> > declared in the source", type
>> >
>> > #lang r6rs
>>
>> Once you do this, IIRC, all of the examples in TSPL4 work in
>> DrRacket ex
On Aug 25, Jim Wise wrote:
> Matthias Felleisen writes:
>
> > Open DrRacket, choose Language, click radio button "Use the language
> > declared in the source", type
> >
> > #lang r6rs
>
> Once you do this, IIRC, all of the examples in TSPL4 work in
> DrRacket except for those that use set-car! a
On Aug 25, 2010, at 11:40 AM, Jim Wise wrote:
> I played some with trying to use those examples with Racket's mcons
> mutable pairs, but didn't find any clean way to get there from here,
> since enough other things get broken by the fact that cons pairs and
> mcons pairs are not interchangeable.
Matthias Felleisen writes:
> Open DrRacket, choose Language, click radio button "Use the language
> declared in the source", type
>
> #lang r6rs
Once you do this, IIRC, all of the examples in TSPL4 work in DrRacket
except for those that use set-car! and set-cdr!, since Racket (by
design) does no
Open DrRacket, choose Language, click radio button "Use the language declared
in the source", type
#lang r6rs
(import (rnrs))
(define !
(lambda (x)
(if (= x 0)
1
(* x (! (- x 1))
and in the repl
> (! 10)
and you'll get the correct result.
On Aug 25, 2010, at
I am new to Racket and Scheme generally, having started learning Common Lisp
about a year ago.
I have a question which is probably answered somewhere in the Racket docs or in
the archives of this mailing list, but it would be of great help to get a quick
answer.
I ordered the 4th edition of th
On Aug 25, Norman Gray wrote:
> On 2010 Aug 25, at 15:22, Eli Barzilay wrote:
>
> > * And if you're talking about editing in DrRacket, then the
> > language dialog has an "Automatic #lang line" that determines
> > the line that gets inserted into new buffers.
>
> ...which you will see if you
Roughly what Noel said, but with an addition.
IIUC, the intention of `execute' is to run stuff in some known
context, where this is sometimes a temporary directory, and sometimes
a batch job run on your cluster. So it looks easy to generalize it
(for example, add some keyword) to do either kind o
On 2010 Aug 25, at 15:22, Eli Barzilay wrote:
> * And if you're talking about editing in DrRacket, then the language
> dialog has an "Automatic #lang line" that determines the line that
> gets inserted into new buffers.
...which you will see if you press the 'Show Details' button in the dialog
On Wed, Aug 25, 2010 at 2:01 AM, Mark Carter wrote:
> Sweet! Many thanks. I've decided to mess around with websites. I'm quite
> comfortable with Python (I'm not familiar with any of its web frameworks,
> though), but Scheme/Lisp sounded like it would be more fun. Lisp turned out to
> be an exerci
On Aug 24, Kartik Agaram wrote:
> Is there a way to switch the default language to mzscheme (or
> something else where the empty list can be evaluated without
> quoting) without getting into a module environment?
>
> (I'm trying to code-generate scheme code.)
* If you're talking about generating
=
Birds of a Feather sessions (BOFs)
Commercial Uses of Functional Programming Workshop (CUFP 2010)
http://cufp.org/bofs-2010
Baltimore, Maryland, September 30 - October 1
=
Is there a way to switch the default language to mzscheme (or
something else where the empty list can be evaluated without quoting)
without getting into a module environment?
(I'm trying to code-generate scheme code.)
_
For list-related administrat
On Wed, Aug 25, 2010 at 9:11 AM, Frederick Ross wrote:
> Someone pointed out serializable continuations in the stateless
> servlets code to me, which seem like just about the perfect solution,
> but they seem to be tied into that framework.
I don't think so. If you
(require web-server/lang/abor
On Tue, Aug 24, 2010 at 7:08 PM, Richard Cleis wrote:
> Can you provide an example? (At this point, one of the profs around here
> asserts, "Code, please." :)
You're right, code will clarify this. I should have started out
asking what people would recommend to do something. My users end up
writ
- Original Message
> From: Nadeem Abdul Hamid
> To: Mark Carter
> Cc: users@racket-lang.org
> Sent: Tue, 24 August, 2010 19:33:05
> Subject: Re: [racket] Web input-string with pre-fllled value
>
> >
> > I would like to pre-fill the VAT Rate input-string with a rate (set to
> > 17.
27 matches
Mail list logo