<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.lang.racket.devel">
    <title>gmane.comp.lang.racket.devel</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.racket.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6043"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6042"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6041"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6040"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6039"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6038"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6037"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6036"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6035"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6034"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6033"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6032"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6031"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6030"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6029"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6028"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6027"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6026"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6025"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6024"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6043">
    <title>Re: scribble/srcdoc</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.racket.devel/6043</link>
    <description>&lt;pre&gt;This is awesome.

My OpenCL planet package, which used srcdoc heavily, used to take over
4 hours to compile on my machine. (I actually don't know how long it
took, because I didn't have the patience. At some point in the past,
it only took about an hour.)

Now, it takes 60 seconds.

Go Matthew! You're the best!

Jay

On Sat, May 12, 2012 at 1:47 AM, Matthew Flatt &amp;lt;mflatt&amp;lt; at &amp;gt;cs.utah.edu&amp;gt; wrote:



&lt;/pre&gt;</description>
    <dc:creator>Jay McCarthy</dc:creator>
    <dc:date>2012-05-16T04:48:53</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6042">
    <title>Re: did something happen to the git web server?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.racket.devel/6042</link>
    <description>&lt;pre&gt;
Thank you!  Ok, more evidence that my memory needs error correction.  ;)
_________________________
  Racket Developers list:
  http://lists.racket-lang.org/dev
&lt;/pre&gt;</description>
    <dc:creator>Danny Yoo</dc:creator>
    <dc:date>2012-05-15T21:36:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6041">
    <title>Re: did something happen to the git web server?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.racket.devel/6041</link>
    <description>&lt;pre&gt;
This never worked -- you should use http://...

But I just pushed a new version that serves the same contents for both
http and https for the git server and the bug server, so you can use
https now if you want to for whatever reason.  This isn't doing much
for gitweb pages since it generates links to http:// either way...

I also made all of the important servers redirect https to http, so if
you go to https://racket-lang.org/ you get redirected to
http://racket-lang.org/ instead of seeing the same empty page.

&lt;/pre&gt;</description>
    <dc:creator>Eli Barzilay</dc:creator>
    <dc:date>2012-05-15T18:59:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6040">
    <title>Re: [plt] Push #24692: master branch updated</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.racket.devel/6040</link>
    <description>&lt;pre&gt;
Maybe a more practical solution is to make `module+' drop its contents
if the module name is `test' unless some parameter is unset?  (IOW,
use `module+' as a configuration point for this stripping.)  It's true
that the resulting modules would not be executable in DrRacket, but
that would happen anyway with zo-level stripping.

&lt;/pre&gt;</description>
    <dc:creator>Eli Barzilay</dc:creator>
    <dc:date>2012-05-15T14:43:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6039">
    <title>Re: match syntax-parse</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.racket.devel/6039</link>
    <description>&lt;pre&gt;




I think that this has to do with the evaluation structure in my 
implementation for guile. I think that I got it now, basically the 
syntax-classes
syntax structures in the racket version is defined before the parsers  are 
defined and inside those there is a check for syntax classes to be 
defined. 
Tricky I really need to talk with the guile dev's about  this in order to 
do the same as well for the guile version. I wrongly assumed that in order 
to get 
the interface you would need the interface of the used syntax classes.

syntax/parse/private/minimatch.

Yes now I remembered that this is the case, I had used guiles (ice-9 
match) for those in the guile version.
then it can makes more sense to implement the matcher with an extensive 
use of syntax-parse.


cool, syntax-parse in guile is kind of heavy right now and splitting the 
parser into mutual files can save
some dev pain. (On the other hand I should fix the code to be faster)



It's just an idea. I think it would be fun to try it out though.
/&lt;/pre&gt;</description>
    <dc:creator>stefan.israelsson-VNh8X+XCloDQT0dZR+AlfA&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-05-14T12:02:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6038">
    <title>Re: match syntax-parse</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.racket.devel/6038</link>
    <description>&lt;pre&gt;syntax parse. 

attention to performance, especially widely used features. 

need to measure the performance impact of ripping out match from 
syntax-parse and of &amp;gt; &amp;gt; implementing match via syntax-parse. It doesn't 
seem a straightforward case for one or the other. 


This is valid concerns, indeed. And you should see my implementation for 
list-no-order it's neat, simple and horribly inefficient.

/Stefan
_________________________
  Racket Developers list:
  http://lists.racket-lang.org/dev
&lt;/pre&gt;</description>
    <dc:creator>stefan.israelsson-VNh8X+XCloDQT0dZR+AlfA&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-05-14T12:06:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6037">
    <title>Re: scribble/srcdoc</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.racket.devel/6037</link>
    <description>&lt;pre&gt;
Do the submodules then have a specific name that the external tools
know about?  Let me look at the implementation... ah, ok, so it uses a
submodule named 'srcdoc' to store that information.  I should take the
same approach in Whalesong to attach JavaScript implementations to
bindings.  Cool!  I'll take a closer look at scribble/srcdoc.
_________________________
  Racket Developers list:
  http://lists.racket-lang.org/dev

&lt;/pre&gt;</description>
    <dc:creator>Danny Yoo</dc:creator>
    <dc:date>2012-05-14T16:11:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6036">
    <title>did something happen to the git web server?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.racket.devel/6036</link>
    <description>&lt;pre&gt;I could have sworn that:

    https://git.racket-lang.org/

took me to a nice HTML view of the git repository, but at the moment,
I see an empty page.
_________________________
  Racket Developers list:
  http://lists.racket-lang.org/dev

&lt;/pre&gt;</description>
    <dc:creator>Danny Yoo</dc:creator>
    <dc:date>2012-05-14T16:04:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6035">
    <title>scribble/srcdoc</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.racket.devel/6035</link>
    <description>&lt;pre&gt;If you use `scribble/srcdoc', please check that the latest version
still works on your code.

I've changed the implementation to use submodules. In the old
implementation, `require/doc' and `provide/doc' expanded to
syntax-quoted constants that the compiler would drop when creating
bytecode (so that there would be no documentation overhead for a
module), and so `include-extracted' would use `expand' on the module
source to find the information. Submodules solve the problem of having
extra information in a module that is not loaded with the module's
code, so the `expand' approach is not longer necessary.

Instead of `require/doc', you can use the new `for-doc' sub-form within
`require'. Instead of `provide/doc', just use `provide'; `proc-doc',
etc., are all `provide' sub-forms.

The new forms are different in many subtle ways. Mostly, the new
implementation should work in corners where the old implementation
wouldn't.

There is at least one pattern, however, that no longer works by
default. Suppose that modul&lt;/pre&gt;</description>
    <dc:creator>Matthew Flatt</dc:creator>
    <dc:date>2012-05-12T07:47:11</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6034">
    <title>Re: A few suggestions on indentation and DrRacket graphical syntax</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.racket.devel/6034</link>
    <description>&lt;pre&gt;

Probably. But how can the user specify its own rules then?
(genuine question, I don't know where the language info lies, and how it
can be extended)




Interesting idea.
Could sub-namespaces be loaded independently from the main identifier, in
case you don't need it?
Anyway, submodules already exists, hence my suggestion.

 Eg, think about providing it as `bar' -- if the rules

Unless `bar' knows its real name is `foo'? (which it does, maybe?)
Currently, DrRacket does not seem to be able to do this anyway
(which may be why you proposed sub-namespaces?):

#lang racket
(require (rename-in racket [define gabuzomeu]))

(gabuzomeu (foo bar)
           (list bar))


So probably sub-moduled indentation rules would be a less important change
than adding sub-namespaces,
and thus requires less work which makes it more probable to appear in a
near future?

Laurent
_________________________
  Racket Developers list:
  http://lists.racket-lang.org/dev
&lt;/pre&gt;</description>
    <dc:creator>Laurent</dc:creator>
    <dc:date>2012-05-12T07:34:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6033">
    <title>Re: match syntax-parse</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.racket.devel/6033</link>
    <description>&lt;pre&gt;
I don't understand your comment. Racket supports mutually recursive 
syntax classes. Here's a little toy example:

#lang racket
(require (for-syntax syntax/parse))

(begin-for-syntax
   (define-syntax-class x
     (pattern i:id
              #:with (flat ...) #'(i))
     (pattern l:xlist
              #:with (flat ...) #'(l.flat ...)))
   (define-syntax-class xlist
     (pattern (a:x ...)
              #:with (flat ...) #'(a.flat ... ...))))

(define-syntax (m stx)
   (syntax-parse stx
     [(_ x:x)
      #'(quote (x.flat ...))]))

(m (a (b c) ((d) ((e)))))
;; =&amp;gt; '(a b c d e)


Ah, I see now. You want mutual recursion across modules, which Racket 
doesn't support in general.

One way to do this with Racket's syntax-parse is to define the two 
syntax classes as thin wrappers around reified syntax classes (see the 
syntax/parse/experimental/reflect module and ~reflect). Then you can 
create procedures that mutate the variables holding the reified syntax 
classes.

Those are the mechanics. I'll see about addin&lt;/pre&gt;</description>
    <dc:creator>Ryan Culpepper</dc:creator>
    <dc:date>2012-05-12T07:01:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6032">
    <title>Re: A few suggestions on indentation and DrRacket graphical syntax</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.racket.devel/6032</link>
    <description>&lt;pre&gt;
That kind of indentation specification is more fitting in the language
info, together with coloring etc.

For specific macros in some random file something that I suggested in
the past could work better: have an ability to use "sub-namespaces"
where an identifier can have a number of related bindings -- so you
could define `foo' and some `foo&amp;lt; at &amp;gt;indent' (or whatever) which specifies
indentation.  The reason that this would work better is that any
context that receives the `foo' binding would also get its
indentation.  Eg, think about providing it as `bar' -- if the rules
are in a sub-module, then it won't work unless you construct your own
sub-module.

&lt;/pre&gt;</description>
    <dc:creator>Eli Barzilay</dc:creator>
    <dc:date>2012-05-11T22:49:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6031">
    <title>Re: match syntax-parse</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.racket.devel/6031</link>
    <description>&lt;pre&gt;
This Wednesday, we had the PLT luminaries from University of Utah visit 
our humble group at BYU. I can swear that Ryan told us syntax/parse 
doesn't actually use match. It has its own slower-but-simpler 
implementation.

We also talked about bootstrapping syntax/parse. And then bootstrapping 
everything. It was heady stuff.

Neil ⊥
_________________________
  Racket Developers list:
  http://lists.racket-lang.org/dev
&lt;/pre&gt;</description>
    <dc:creator>Neil Toronto</dc:creator>
    <dc:date>2012-05-11T18:01:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6030">
    <title>Re: A few suggestions on indentation and DrRacket graphical syntax</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.racket.devel/6030</link>
    <description>&lt;pre&gt;
That would be awesome for Typed Racket macros in particular. Its `for' 
macros are great examples of forms that should have fairly complex 
indentation rules. Optional type declarations make it difficult to 
classify them as "begin-like", "define-like" or "lambda-like".

Neil ⊥
_________________________
  Racket Developers list:
  http://lists.racket-lang.org/dev
&lt;/pre&gt;</description>
    <dc:creator>Neil Toronto</dc:creator>
    <dc:date>2012-05-11T17:37:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6029">
    <title>Re: match syntax-parse</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.racket.devel/6029</link>
    <description>&lt;pre&gt;
On May 11, 2012, at 9:45 AM, stefan.israelsson-VNh8X+XCloDQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org wrote:


This is really good to hear. 



"set!" is a means to implement recursion but it is an ugly sledge hammer. Instead of hitting the nail, you are sooner or later going to flatten your thumb with it. 

letrec or compound-unit fit the bill better than class-set! because they bring across the intent of declaring mutually recursion entities, possibly located in distinct files. 

So while I welcome the idea, I think we should find a better way to express it. 


It does. 



I usually argue for clarity of code over speed. BUT we must pay attention to performance, especially widely used features. 

Have you measure the performance of the two versions? Indeed you really need to measure the performance impact of ripping out match from syntax-parse and of implementing match via syntax-parse. It doesn't seem a straightforward case for one or the other. 

&lt;/pre&gt;</description>
    <dc:creator>Matthias Felleisen</dc:creator>
    <dc:date>2012-05-11T16:59:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6028">
    <title>Re: Very quick poll re `string-trim'</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.racket.devel/6028</link>
    <description>&lt;pre&gt;I would say yes. Isn't this primarily a string function?

How about a #:repeated? argument that defaults to #t?

Neil ⊥

On 05/11/2012 08:38 AM, Matthias Felleisen wrote:

_________________________
  Racket Developers list:
  http://lists.racket-lang.org/dev
&lt;/pre&gt;</description>
    <dc:creator>Neil Toronto</dc:creator>
    <dc:date>2012-05-11T16:54:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6027">
    <title>match syntax-parse</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.racket.devel/6027</link>
    <description>&lt;pre&gt;Hi,

I have done two interseting things.

1. Ported syntax-parse over to guile.
2. Implemented racket's match completely with the help of syntax parse.

Comments about 1.

I found that the lack of possibility to define two syntax classes that 
referese to each other inferior to what 
can be done although I understand the choice of to do this and if you 
define one hugh syntax class and use
syntax class parameters you will be able to implement any feature still 
but at the drawback that one need
to define one hugh syntax class.

i propose instead to add syntax-class-set! and syntax-splicing-class-set! 
that has the following logic:
1. Compile all the meta data for the class as before
2. there has to be an already defined syntax class, the declaration, which 
has a logically identical set of meta data except for 
    the parser function
3. If there is no syntax class defined, error about it
4. If there the interfaces miss-matches print out what is different.
5. if everything is ok then set! the old named parse&lt;/pre&gt;</description>
    <dc:creator>stefan.israelsson-VNh8X+XCloDQT0dZR+AlfA&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-05-11T13:45:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6026">
    <title>Re: Very quick poll re `string-trim'</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.racket.devel/6026</link>
    <description>&lt;pre&gt;
The question you need to ask is whether you want string-trim to be usable by someone who is not familiar with our syntax (or any syntax) of regexp, which is an embedded sublanguage with a definitely complex and somewhat obscure syntax. -- Matthias




On May 11, 2012, at 9:56 AM, Eli Barzilay wrote:



_________________________
  Racket Developers list:
  http://lists.racket-lang.org/dev

&lt;/pre&gt;</description>
    <dc:creator>Matthias Felleisen</dc:creator>
    <dc:date>2012-05-11T14:38:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6025">
    <title>Re: Very quick poll re `string-trim'</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.racket.devel/6025</link>
    <description>&lt;pre&gt;
Yes, but it seems that if you're moving from

  (string-trim "stuff" " ")

to some

  (string-trim "stuff" " " #:repeated? #t)

then you could just as well go with

  (string-trim "stuff" #rx" +")

instead.  IOW, a keyword is possible, but doesn't seem useful given
that the intention is for this to be a function that is simple and/or
convenient.

&lt;/pre&gt;</description>
    <dc:creator>Eli Barzilay</dc:creator>
    <dc:date>2012-05-11T13:56:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6024">
    <title>Re: Very quick poll re `string-trim'</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.racket.devel/6024</link>
    <description>&lt;pre&gt;Did you consider an optional argument to string-trim?

Robby

On Fri, May 11, 2012 at 6:53 AM, Eli Barzilay &amp;lt;eli&amp;lt; at &amp;gt;barzilay.org&amp;gt; wrote:

_________________________
  Racket Developers list:
  http://lists.racket-lang.org/dev
&lt;/pre&gt;</description>
    <dc:creator>Robby Findler</dc:creator>
    <dc:date>2012-05-11T12:15:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.racket.devel/6023">
    <title>Very quick poll re `string-trim'</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.racket.devel/6023</link>
    <description>&lt;pre&gt;Should (string-trim str sep) remove any number of `sep' matches or
just one?  (This makes no difference for the default `sep' since it's
#px"\\s+".)  Possible options below, feel free to mail me off-list to
reduce noise.

1. Yes.
   * Advantage: makes life with string separator a bit easier.  For
     example, remove only newlines with (string-trim str "\n")
   * Disadvantage: can be confusing with strings or regexps like "xy".
     For example:
       (string-trim ", , foo, bar, " #rx", *") =&amp;gt; "foo, bar"

2. No.  Flipped dis/advantages.

3. Yes for string separators, no for (p)regexp separators.  Tries to
   get both advantages, but at the cost of non-uniform behavior.

I'm leaning towards #2 since (a) it's less surprising in the regexp
and &amp;gt;=2 string cases, and (b) it'll make similar to other functions
like `string-split' where an implicit repetition is a bad idea (eg,
when you split with "," you'd usually want that to mean #rx"," not
#rx",+").  OTOH, I hate to loose the possibly useful case of
1-character&lt;/pre&gt;</description>
    <dc:creator>Eli Barzilay</dc:creator>
    <dc:date>2012-05-11T11:53:26</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.lang.racket.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lang.racket.devel</link>
  </textinput>
</rdf:RDF>

