I've got a little numerical routine in C that I'm calling from Racket;
I started out with passing in normal vectors, but then I dug through
the Racket source and found the macros necessary to handle flvectors,
and switched to that. Seemed to speed things up. I'd like to finish
the conversion, and r
I don't know about portable R6, but you might try using parameters
instead of set!; parameter values (set via parameterize) are captured
and restored when continuation jumps happen.
If something like that isn't around in R6, you might check to see if
you can do something with dynamic-wind.
hth,
R
Hello everyone,
I am not that good with continuations, and am having trouble accomplishing
what I want - which is quite trick. A little help and wisdom would be
greatly appreciated.
(define-special-computation-block
(let ((i 0))
... computation block 1 ...
(yield) ;;suspend computation
On Sep 28, 2011, at 5:25 PM, Todd O'Bryan wrote:
I think that is, strangely enough, possible.
Look under the Help Desk and choose "Interact with DrRacket in
English." I can set DrRacket to Spanish even though my system is in
English. You have to restart DrRacket, but hopefully it works the sam
I'm in the midst of writing a nice performance/stress testing harness for
racket.
To measure performance with a GC language, it is very important to be able
to log accurate GC occurrences, along with how long they take.
The debug log seems to really output what I need except maybe a call to
(curr
I think that is, strangely enough, possible.
Look under the Help Desk and choose "Interact with DrRacket in
English." I can set DrRacket to Spanish even though my system is in
English. You have to restart DrRacket, but hopefully it works the same
in Mac OS.
Todd
On Wed, Sep 28, 2011 at 5:19 PM,
Forgot to say -- he's using Mac OS X Lion.
Regards,
Adam
Begin forwarded message:
> From: Adam Shaw
> Date: September 28, 2011 4:14:11 PM CDT
> To: Racket-users
> Subject: [racket] drracket language (in the spoken language sense)
>
> A student asked me today if his DrRacket (menus, etc.) can
I'll study the matter further.
Thanks for your suggestions.
I'll need some time for study, but you can be assured I shall post my
experiences.
Thanks, Jos
-Original Message-
From: Matthew Flatt [mailto:mfl...@cs.utah.edu]
Sent: miƩrcoles, 28 de septiembre de 2011 22:59
To: Jos Koot
Cc: '
A student asked me today if his DrRacket (menus, etc.) can be in English even
though his system language is set to Korean. Is this possible? I suspect not,
but thought I'd ask.
Regards,
Adam
_
For list-related administrative tasks:
http://l
I had in mind the comment on page 64, bottom right, but I see that it's
a smaller comment than in my memory.
Overall, I think it will work better to use a hash table to go from a
value to an index, and then use a binary search on the index as in
Clinger's paper. Indirect dispatch via thunks in a h
Hi Hatthew,
I am still trying to implement 'case' by means of a hash.
Can you give me a more specific pointer. I followed your pointer but did not
see anything relevant to my question.
Jos
-Original Message-
From: Matthew Flatt [mailto:mfl...@cs.utah.edu]
Sent: miƩrcoles, 28 de septiembr
At Wed, 28 Sep 2011 22:08:44 +0200, "Jos Koot" wrote:
> By inspection with the macro stepper I found that case forms are expanded to
> nested if-forms. For case forms with many clauses, this may be inefficient.
> I have tried to prepare a hash-case form using a hash table in order to
> select the d
Hi,
By inspection with the macro stepper I found that case forms are expanded to
nested if-forms. For case forms with many clauses, this may be inefficient.
I have tried to prepare a hash-case form using a hash table in order to
select the desired clause more efficiently. So far my attempts failed.
Sam Tobin-Hochstadt wrote at 09/28/2011 10:42 AM:
(require racket/mpair racket/splicing)
I guess the advantage of "let-splicing" here is that you can put the
names by the definitions, rather than like the following more
traditional way of doing this:
#lang racket/base
(require racket/
On Wed, Sep 28, 2011 at 10:36 AM, Marijn wrote:
>
> recent talk about internal define being considered the preferred style
> made me focus on trying to use it more in my own code and resulted in
> some thoughts which I'd like to throw out there without much sanity
> checking on my part.
>
> Consid
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi list,
recent talk about internal define being considered the preferred style
made me focus on trying to use it more in my own code and resulted in
some thoughts which I'd like to throw out there without much sanity
checking on my part.
Consider:
On 9/27/11 7:25 AM, Bas Steunebrink wrote:
Ciao a tutti,
Which is/are the best scientific journal(s) these days that publish
research in the fundamentals of Scheme and lambda-calculus-related
programming languages in general? They must not be afraid of technical
details and denotational semantic
Thanks guys. I get it now.
_
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/users
18 matches
Mail list logo