I'm a little stuck with a problem in one of my programs: some place is
generating so much garbage that I'm triggering a garbage collection
once every few seconds, and that's bad because the program is meant to
be used interactively.
I'm having some difficulty pinpointing what I should be looking a
Moby currently requires Racket 5.0.1. Unfortunately, the way it works makes
it sensitive to the changes to bytecode structure introduced in new releases
of Racket. (I'm in the middle of a rewrite that will work on the 5.0.2
bytecode.)
On Jan 25, 2011 2:39 PM, "Mark Engelberg" wrote:
> This prog
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
It worked :)
The other function that needed it was scheme_eqv(), right below
double_eqv() in bool.c.
Adding the second #ifdef block after scheme_eqv() instead of after
double_eqv() seems to suffice.
With this, it finished compiling without furt
On 5.0.99.6;
#lang lazy
(define ones (cons 1 ones))
(define ints (cons 1 (map + ints ones)))
(+ (list-ref (take 15 ints) 1234)) 2) produces 1237
'take' doesn't produce a proper list (which has a 'null' in the end),
instead it produces a list with an element and a promise. When another
function
Greetings.
The source browser on PLaneT appears to be giving out files with incorrect
(well, non-useful) MIME types:
% curl -i
http://planet.racket-lang.org/package-source/jaymccarthy/sqlite.plt/5/0/sqlite-ffi.rkt
Date: Wed, 26 Jan 2011 21:56:03 GMT
Server: Apache/2.2.17 (Fedora)
Last-Modified
Todd,
Have you read the Macros section of the Guide yet?
http://docs.racket-lang.org/guide/macros.html
The questions you're asking suggest that you want syntax-parse (or
syntax-case) instead of syntax-rules; those are all still within
define-syntax. The guide will take you through examples of b
OK, I understand that the template language in (define-syntax ...)
doesn't give you access to the full panoply of Racket-ness. But I
really want to manipulate the template variables before passing them
on to the next step in the expansion. I've tried (define-for-syntax
..) and a couple of other thi
ftw. Apparently a 32/64 bit incompatibility is helpfully reported as
> "command not found", which is impossible to search for, but once I had
> the above details I found a few pages that gave more info; on their
> recommendation I installed the following packages:
>
> lib32gcc1 lib32stdc++6 lib32
Quoth Todd O'Bryan:
> You might try installing it from the PPA that Jon Rafkind set up:
>
> Information page: https://launchpad.net/~plt/+archive/racket
Hmm, I'll file this for future reference, but this:
> I saw something similar and the problem was that I was running 64-bit
> Ubuntu and the sc
On Wed, Jan 26, 2011 at 1:41 PM, John Clements
wrote:
>
> On Jan 26, 2011, at 4:29 AM, Casey Klein wrote:
>
>> On Wed, Jan 26, 2011 at 1:27 AM, John Clements
>> wrote:
>>> I would expect this program to signal an error:
>>>
>>> #lang lazy
>>>
>>> (define zeros (cons 0 zeros))
>>>
>>> (define shou
On Wed, Jan 26, 2011 at 2:41 PM, John Clements
wrote:
> Correct me if I'm wrong, but this appears to be a different issue. The
> question here is not laziness, but the length of the resulting list. Here's
> another example:
>
> #lang lazy
>
> (define zeros (cons 0 zeros))
>
> (define lazy-list
On Jan 26, 2011, at 4:29 AM, Casey Klein wrote:
> On Wed, Jan 26, 2011 at 1:27 AM, John Clements
> wrote:
>> I would expect this program to signal an error:
>>
>> #lang lazy
>>
>> (define zeros (cons 0 zeros))
>>
>> (define should-be-error (list-ref (take 15 zeros) 1324))
>>
>>
>> ... but i
You might try installing it from the PPA that Jon Rafkind set up:
Information page: https://launchpad.net/~plt/+archive/racket
I saw something similar and the problem was that I was running 64-bit
Ubuntu and the script installs 32-bit binaries, so I needed to install
the 32-bit compatibility libr
I just tried running the Ubuntu installation script (is that new?) and
while it seems to have put everything in the right places, I'm getting a
"command not found" error when I actually go to run it:
church /home/dblaheta -1-> which racket
/usr/local/bin/racket
church /home/dblaheta -2-> rac
I meant to say, I'm seeing that list-ref behaves the same in #lang
lazy and #lang racket.
On Wed, Jan 26, 2011 at 11:12 AM, Stephen Chang wrote:
>> P.S. I was surprised to see that list-ref in #lang lazy takes the args in
>> opposite order than in #lang racket (which takes the list first).
>
> I
> P.S. I was surprised to see that list-ref in #lang lazy takes the args in
> opposite order than in #lang racket (which takes the list first).
I'm seeing the same behavior:
Welcome to DrRacket, version 5.0.99.6 [3m].
Language: Lazy Racket [custom].
> (list-ref '(1 2 3) 1)
2
> (list-ref 1 '(1 2 3
+1
Many thanks to the fabulous PLT team.
The team offers us their great services for free.
I think the team itself was more concerned than its users.
It is very polite to offer apologies, but I don't think the team should
choose such humble words.
I remember older days when it would take half a yea
On Wed, 26 Jan 2011 07:12:32 -0600
Robby Findler wrote:
> Most of the downtime was
> dealing with little changes compared to the old version of the OS and
> sorting out selinux permissions.
As I went through these pains myself during the last 36 hours,
I want to offer a big THANK YOU for doing
At Wed, 26 Jan 2011 14:29:11 +, J Smithfield wrote:
>
> > You were asked to try the current pre-release. Have you done so?
> >
> > N.
> Yes indeed, I have. I have further sent back the screen dump of my
> unsuccessful
> attempt, using the Armenian keyboard system (the same is true for Mongo
> You were asked to try the current pre-release. Have you done so?
>
> N.
Yes indeed, I have. I have further sent back the screen dump of my unsuccessful
attempt, using the Armenian keyboard system (the same is true for Mongolian,
... you name it), which you can also verify easily on any Window
Dear J:
You have been told that the built-in OS-level support for these
languages under windows and mac os x has been a part of Racket for a
long time and that the recent pre-release should support Keyman (which
is, we suspect, what you are really asking about). You have been told
that we have t
I post jobs brought to my notice at
http://schemers.org/Positions/
Recently, I was contacted by Functional Jobs:
http://functionaljobs.com/
There's a link to them at the top of the schemers.org page.
Shriram
_
For list-related administrative ta
We recently had an outage of a bunch of Racket-related web services
(notably planet). Our apologies. Things should be back to normal,
but if you spot any problems, please let us know.
The longer version of the story: Eli detected a possible break-in on
one of our servers; someone or something ha
On Wed, Jan 26, 2011 at 1:27 AM, John Clements
wrote:
> I would expect this program to signal an error:
>
> #lang lazy
>
> (define zeros (cons 0 zeros))
>
> (define should-be-error (list-ref (take 15 zeros) 1324))
>
>
> ... but instead should-be-error is bound to zero. How can I take the 1000th
On Wed, Jan 26, 2011 at 12:13 PM, J Smithfield
wrote:
> Apart from Chinese Racket does not seem to support non-European languages. I
> had reported this fact in a previous email.
> This was acknowledged rather halfheartedly; but no further assurance as to
> doing something about it has been forthc
Apart from Chinese Racket does not seem to support non-European languages. I
had reported this fact in a previous email.
This was acknowledged rather halfheartedly; but no further assurance as to
doing something about it has been forthcoming.
Among the major programming languages and systems,
I saw the following today, and thought it might be of interest to some:
GrammaTech is seeking a Software Engineer for a full-time position
located in Ithaca, New York.
...
Beneficial Experience
We are especially interested in candidates with one or more of the
following attributes:
...
* Pro
I get an error in 5.0.2, rather than 0.
--Mark
P.S. I was surprised to see that list-ref in #lang lazy takes the args in
opposite order than in #lang racket (which takes the list first).
On Tue, Jan 25, 2011 at 11:27 PM, John Clements
wrote:
> I would expect this program to signal an error:
>
>
28 matches
Mail list logo