I have downloaded the latest pre-release for v5.3
(plt-5.2.901.1-bin-i386-win32.exe). All of my PLaneT collections load
and run fine. But, my large application at work fails to run - it dies
during startup with "Seg Fault (internal error during gc) at 58720044"
printed (twice) in a new window. It's
> * Stephen Chang
> - Lazy Racket Tests
> - Lazy stepper tests
All passed.
_
Racket Developers list:
http://lists.racket-lang.org/dev
Three hours ago, John Clements wrote:
>
> Mac OS X (32-bit 64-bit)
>
> I'm guessing this was supposed to be
>
> Mac OS X (Intel 64-bit)
Yes, that was a typo.
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/
Just now, Matthew Flatt wrote:
> I've pushed a fix.
>
> At Thu, 19 Apr 2012 16:55:10 -0700, John Clements wrote:
> > Ooh… just looked at git log, perhaps this has something to do with
> > 2b76d9e5b03ea97b8de155d2dda63e64256a3212 ?
Yes, it was my fault. (I didn't try to build from scratch, so I
I've pushed a fix.
At Thu, 19 Apr 2012 16:55:10 -0700, John Clements wrote:
> Apologies in advance if this is my fault; I can't see an obvious reason why
> it
> would be.
>
> I'm building from the head, and I rm'ed my build directory, and I get a build
> failure that ends with:
>
> Compiling
On Apr 18, 2012, at 8:00 AM, Ryan Culpepper wrote:
> * John Clements
> - Stepper Tests
> Updates:
> - Stepper Updates: update HISTORY
> (updates should show v5.3 as the most current version; email me
> to pick the changes when they're done, or tell me if there are no such
> changes.)
Done
On Apr 18, 2012, at 8:00 AM, Ryan Culpepper wrote:
> Checklist items for the v5.3 release
> (using the v5.2.901.1 release candidate build)
I'm confused by the OS X download options on the pre-release download page
(http://pre.racket-lang.org/release/installers/).
Specifically, one of the entr
I think this is the kind of mixin that belongs in the framework and, if you
don't want it, you don't mix it in.
The preferences dialog additions could be DrRacket-specific, tho.
Also, option 2 should probably have a button in the dialog that adjusts the
preference to one of the two "silent" modes
An hour ago, Danny Yoo wrote:
> On Thu, Apr 12, 2012 at 5:26 PM, Robby Findler
> wrote:
> > Yes, normalization doesn't deal with those spaces. It does change
> > the text in ways that are unfriendly and I often tell DrRacket
> > "no" when it asks about normalization. I just wanted to put that
> >
On Thu, Apr 19, 2012 at 2:45 PM, Matthew Flatt wrote:
> I've pushed a repair for this bug.
Ah, thank you! I will try it out as soon as it hits the 5.3 release branch.
_
Racket Developers list:
http://lists.racket-lang.org/dev
Thank you so much for this. This was definitely one area of difficulty
when I started using Racket for scripting.
On 04/19/2012 09:28 AM, Eli Barzilay wrote:
But to allow other uses, make these arguments a string *or* a regexp,
where a regexp is taken as-is. This leads to another simplicity p
I've pushed a repair for this bug.
At Wed, 18 Apr 2012 13:02:05 -0400, Danny Yoo wrote:
> I'm trying to wrap my head around submodules so I can get it working
> with Whalesong, but I'm running into an issue:
>
> #lang racket
>
> (define (print-cake n)
> #;(show " ~a " n #\.)
> #;(show "
Ryan Culpepper writes:
> * Mike Sperber
> - DMdA Tests
> - Stepper Tests
> - Signature Tests
Done.
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
_
Racket Developers list:
http://lists.racket-lang.org/dev
At Wed, 18 Apr 2012 14:41:46 -0400, Danny Yoo wrote:
> >> I'm trying to wrap my head around submodules so I can get it working
> >> with Whalesong
>
>
> I see that the structure of 'mod' has changed a bit to accommodate
> submodules; in particular, mod-name can now be a list of symbols vs
> just
On Thu, Apr 12, 2012 at 5:26 PM, Robby Findler
wrote:
> Yes, normalization doesn't deal with those spaces. It does change the
> text in ways that are unfriendly and I often tell DrRacket "no" when
> it asks about normalization. I just wanted to put that into the mix
> for this conversation, since
On Thu, Apr 19, 2012 at 1:28 PM, Eli Barzilay wrote:
> (list-index list elt)
> Looks for `elt' in `list'. This is a possible extension for
> `racket/list' that would be kind of obvious with adding the above.
> [*3*] I'm not sure if it should be added, but IIRC it was
> requested a fe
I like it a lot.
[...]
> (string-split str [sep #px"\\s+"])
>Splits `str' on occurrences of `sep'. Unclear whether it should
>do that with or without trimming, which affects keeping a
>first/last empty part. [*1*] Possible solution: make it take a
>`#:trim?' keyword, in analogy
Sorry for the new thread, but this is a kind of a summary on the
extensions that I think we're converging to, with a way to resolve the
exact meaning of arguments. Please read through and reply if you see
any problems with it. There are three specific questions, which are
marked with [*1*]...[*3b
An hour and a half ago, Ryan Culpepper wrote:
> Instead of trying to design a 'string-split' that is both
> miraculously intuitive and profoundly flexible, why not design it
> like a Model-T
Invalid analogy: the issue is not flexibility, it's making something
that is simple (first) and useful (sec
>
> (TL;DR: I'd suggest two functions: one (string-words str)
> function that does Eli's way, and one (string-split str sep) that
> does it Laurent's way).
That would be a good option to me, considering that "my way" is with
remaining ""s in the output list.
The question remains if a string can b
All of the plot routines work as expected.
Done
Doug
On Wednesday, April 18, 2012, Ryan Culpepper wrote:
> Checklist items for the v5.3 release
> (using the v5.2.901.1 release candidate build)
>
> Search for your name to find relevant items, reply when you finish an
> item (please indicate whi
At Wed, 18 Apr 2012 15:40:09 -0400, Danny Yoo wrote:
> On Wed, Apr 18, 2012 at 3:09 PM, Danny Yoo wrote:
> > This no longer appears to work in 5.3:
> >
> > #lang planet dyoo/bf
> > ,[.,]
> >
> > I'm not sure how to fix this. Help? I see the following error message:
>
>
> Ok, bug traced.
(TL;DR: I'd suggest two functions: one (string-words str)
function that does Eli's way, and one (string-split str sep) that
does it Laurent's way).
50 minutes ago, Eli Barzilay wrote:
> That doesn't seem right -- with this you get
>
> -> (string-split " st ring")
> '("" "st" "" "ring")
>
>
Instead of trying to design a 'string-split' that is both miraculously
intuitive and profoundly flexible, why not design it like a Model-T and
then write a guide/cookbook for how to use regexps to do all of the
common cases that the extremely limited 'string-split' doesn't handle?
I suspect th
> > 4. Related to Q3: what does "xy" as that argument mean exactly?
> > a. #rx"[xy]"
> > b. #rx"[xy]+"
> > c. #rx"xy"
> > d. #rx"(?:xy)+"
> >
> > Good question. d. would be the simplest case for newbies, but
> > b. might be more useful. I think several other languages a
Just now, Laurent wrote:
> 1. Laurent: Does this make more sense?
>
> Yes, this definitely makes more sense to me. It would then treat
> (string-split "aXXby" "X") just like the " " case.
>
> Although if you want to find the columns of a latex line like "x &&
> y & z" you will have the w
>
> 4. Related to Q3: what does "xy" as that argument mean exactly?
>> a. #rx"[xy]"
>> b. #rx"[xy]+"
>> c. #rx"xy"
>> d. #rx"(?:xy)+"
>>
>
> Good question. d. would be the simplest case for newbies, but b. might be
> more useful.
>
It would make more sense that a string really is a string,
A few minutes ago, Laurent wrote:
> (define (string-index-of sub str [start 0] [end (string-length str)])
>
> I always need to go check the documentation for that kind of argument position
> (like for (string-replace from str to) ).
> To me, what makes more sense is to have the str argument
> (define (string-index-of sub str [start 0] [end (string-length str)])
>
I always need to go check the documentation for that kind of argument
position (like for (string-replace from str to) ).
To me, what makes more sense is to have the str argument on the first
position, just like for a metho
Continuing with this line, it seems that a better definition is as
> follows:
>
> (define (string-split str [sep " "])
>(remove* '("") (regexp-split (regexp-quote (or sep " ")) str)))
>
> Except that the full definition could be a bit more efficient.
>
> Three questions:
>
> 1. Laurent: Does t
30 minutes ago, Laurent wrote:
>
> I meant this:
>
> (define (string-replace from str to)
> (regexp-replace* (regexp-quote from) str (regexp-replace-quote to)))
30 minutes ago, Matthew Flatt wrote:
>
> Surely Laurent meant
>
>(define (string-replace str from to)
> (regexp-replace*
[Meta-note: I'm not just flatly object to these, just trying to
clarify the exact behavior and the possible effects on other
functions.]
10 minutes ago, Laurent wrote:
>
>
> (define (string-split str [sep #px"\\s+"])
> (remove* '("") (regexp-split sep str)))
>
> Nearly, I meant som
A few minutes ago, Laurent wrote:
>
> Then instead of #f one idea is to go one step further and consider
> different useful cases based on input symbols like 'whitespaces,
> 'non-alpha, etc. ? Or even a list of string/symbols that can be used
> as a splitter. That would make a more powerful funct
On Thu, Apr 19, 2012 at 14:53, Matthew Flatt wrote:
> At Thu, 19 Apr 2012 14:43:44 +0200, Laurent wrote:
> > On Thu, Apr 19, 2012 at 14:33, Matthew Flatt wrote:
> >
> > > I agree with this: we should add `string-split', the one-argument case
> > > should be as Eli wrote,
> >
> >
> > About this I
At Thu, 19 Apr 2012 14:43:44 +0200, Laurent wrote:
> On Thu, Apr 19, 2012 at 14:33, Matthew Flatt wrote:
>
> > I agree with this: we should add `string-split', the one-argument case
> > should be as Eli wrote,
>
>
> About this I'm not sure, as one cannot reproduce this behavior by providing
> a
On Thu, Apr 19, 2012 at 14:33, Matthew Flatt wrote:
> I agree with this: we should add `string-split', the one-argument case
> should be as Eli wrote,
About this I'm not sure, as one cannot reproduce this behavior by providing
an argument (or it could make the difference between string-as-not-r
On Thu, Apr 19, 2012 at 14:26, Eli Barzilay wrote:
> Two hours ago, Laurent wrote:
>
> > Maybe also a `string-replace' could be useful, especially when one
> > does not want regexps and has special characters that need to be
> > quoted.
>
> Again, it's not clear how this shold look -- my guess:
>
At Thu, 19 Apr 2012 08:26:20 -0400, Eli Barzilay wrote:
> Two hours ago, Laurent wrote:
>
> > Maybe also a `string-replace' could be useful, especially when one
> > does not want regexps and has special characters that need to be
> > quoted.
>
> Again, it's not clear how this shold look -- my gue
I think Laurent pointed out in his initial message that beginners may be
intimidated by regexps. I agree. Plus someone who isn't fluent with regexp may
be more comfortable with string-split. Last but not least, a program documents
itself more clearly with string-split vs regexp.
On Apr 19,
I agree with this: we should add `string-split', the one-argument case
should be as Eli wrote, and the two-argument case should be as Laurent
wrote. (Probably the optional second argument should be string-or-#f,
where #f means to use #px"\\s+".)
At Thu, 19 Apr 2012 14:30:31 +0200, Laurent wrote:
>
(define (string-split str [sep #px"\\s+"])
>(remove* '("") (regexp-split sep str)))
>
Nearly, I meant something more like this:
(define (string-split str [splitter " "])
(regexp-split (regexp-quote splitter) str))
No regexp from the user POV, and much easier to use with little knowledge.
On Thu, Apr 19, 2012 at 8:21 AM, Eli Barzilay wrote:
>
> Two hours ago, Laurent wrote:
>> One string function that I often find useful in various scripting
>> languages is a `string-split' (explode in php). It can be done with
>> `regexp-split', but having something more along the lines of a
>> `
Two hours ago, Laurent wrote:
> Maybe also a `string-replace' could be useful, especially when one
> does not want regexps and has special characters that need to be
> quoted.
Again, it's not clear how this shold look -- my guess:
(define (string-replace from str to)
(regexp-replace* (rege
[Changed title to talk about each one separately.]
Two hours ago, Laurent wrote:
> One string function that I often find useful in various scripting
> languages is a `string-split' (explode in php). It can be done with
> `regexp-split', but having something more along the lines of a
> `string-spl
I second that.
On Apr 19, 2012, at 5:57 AM, Laurent wrote:
> (sorry, I couldn't figure out how to reply properly from the list archive, as
> I don't receive the dev-list emails.)
>
> One string function that I often find useful in various scripting languages
> is a `string-split' (explode
(sorry, I couldn't figure out how to reply properly from the list archive,
as I don't receive the dev-list emails.)
One string function that I often find useful in various scripting languages
is a `string-split' (explode in php).
It can be done with `regexp-split', but having something more along
On 18 Apr 2012, at 16:00, Ryan Culpepper wrote:
> * Kathy Gray
> - Test Engine Tests
Done
-Kathy
_
Racket Developers list:
http://lists.racket-lang.org/dev
47 matches
Mail list logo