<?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.lisp.scheme.plt">
    <title>gmane.lisp.scheme.plt</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.plt</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.lisp.scheme.plt/41151"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.plt/41150"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.plt/41149"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.plt/41148"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.plt/41147"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.plt/41146"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.plt/41145"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.plt/41144"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.plt/41143"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.plt/41142"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.plt/41141"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.plt/41140"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.plt/41139"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.plt/41138"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.plt/41137"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.plt/41136"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.plt/41135"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.plt/41134"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.plt/41133"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.plt/41132"/>
      </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.lisp.scheme.plt/41151">
    <title>Re: [racket] hack: implicit function arguments</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.plt/41151</link>
    <description>&lt;pre&gt;&lt;/pre&gt;</description>
    <dc:creator>Shriram Krishnamurthi</dc:creator>
    <dc:date>2010-08-14T16:07:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.plt/41150">
    <title>Re: [racket] hack: implicit function arguments</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.plt/41150</link>
    <description>&lt;pre&gt;
On Aug 14, 2010, at 1:01 AM, Jon Rafkind wrote:


This just lowered my opinion of Scala a lot. I hacked enough TeX (including quasi-higher order) in the 80s to know that parameters shouldn't be numbered, neither explicitly nor implicitly :-) 

&lt;/pre&gt;</description>
    <dc:creator>Matthias Felleisen</dc:creator>
    <dc:date>2010-08-14T15:54:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.plt/41149">
    <title>Re: [racket] hack: implicit function arguments</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.plt/41149</link>
    <description>&lt;pre&gt;This is very similar to supercut:

http://github.com/jeapostrophe/exp/blob/master/scut.ss

scut allows you to put any expression inside it and it will turn it
into a function. The arguments come from use of _. If you have _i then
it will be the ith argument. If you have _string then the function
will take a "string" keyword argument. The function takes as many
arguments as the maximum i you use inside it. Finally, _... gives you
the rest arg. The bottom of that file has many examples, here are a
few:

((scut _0) 1) =&amp;gt; 1

 ((scut (+ _0 (/ _1 _2)))
  1 2 3)
 =&amp;gt; (+ 1 (/ 2 3))

((scut (+ _lhs _lhs _rhs)) #:lhs 1 #:rhs 2)
 =&amp;gt; 4

 ((scut (apply + _0 _...))
  1 2 3)
 =&amp;gt; 6

On Fri, Aug 13, 2010 at 11:01 PM, Jon Rafkind &amp;lt;rafkind&amp;lt; at &amp;gt;cs.utah.edu&amp;gt; wrote:



&lt;/pre&gt;</description>
    <dc:creator>Jay McCarthy</dc:creator>
    <dc:date>2010-08-14T15:20:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.plt/41148">
    <title>Re: [racket] Possible to install both plt-scheme from repo and racket from racket-lang.org?</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.plt/41148</link>
    <description>&lt;pre&gt;It doesn't do that.

But the racket installation can install in its own directory and then
you just have to delete that directory to uninstall it (under linux).

Robby

On Sat, Aug 14, 2010 at 5:36 AM, Horace Dynamite
&amp;lt;horace.dynamite&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users&lt;/pre&gt;</description>
    <dc:creator>Robby Findler</dc:creator>
    <dc:date>2010-08-14T12:10:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.plt/41147">
    <title>Re: [racket] Possible to install both plt-scheme from repo and racket from racket-lang.org?</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.plt/41147</link>
    <description>&lt;pre&gt;
I do see a Ubuntu download on the Racket download page,
http://racket-lang.org/download/.
It's a shell script, but since they say it's for Ubuntu, chances are
high that it'll build itself using the debian packing tools and
install itself into the dpkg database so you can remove it with
apt-get/aptitude whatever it is you use.

I can't download 42 MB atm to check, so someone else will have to
confirm how this builds. (careful about possibly "masking" existing
binarys, as I mentioned before).

I think these shell script installers ask you where you'd like to
install the files, called a ``prefix" in case you were wondering
before. I'd chose /opt. So that all the binarys/man pages/etc will be
under /opt/racket. If you decide you'd like to remove Racket, just
remove the /opt/racket directory. You could then add /opt/racket/bin
to the end of your $PATH so that drscheme will still be found in the
cannoncial /usr/... location.

If none of this sounds feasible to you, another option is to ask the
package maintainer &lt;/pre&gt;</description>
    <dc:creator>Horace Dynamite</dc:creator>
    <dc:date>2010-08-14T10:36:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.plt/41146">
    <title>Re: [racket] problems with struct datatype</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.plt/41146</link>
    <description>&lt;pre&gt;&lt;/pre&gt;</description>
    <dc:creator>Guppoc Soft</dc:creator>
    <dc:date>2010-08-14T06:11:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.plt/41145">
    <title>Re: [racket] problems with struct datatype</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.plt/41145</link>
    <description>&lt;pre&gt;You're using #lang scheme instead of #lang racket, I expect.

N.

On Sat, Aug 14, 2010 at 6:37 AM, Guppoc Soft &amp;lt;guppoc-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>Noel Welsh</dc:creator>
    <dc:date>2010-08-14T06:06:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.plt/41144">
    <title>[racket] problems with struct datatype</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.plt/41144</link>
    <description>&lt;pre&gt;&lt;/pre&gt;</description>
    <dc:creator>Guppoc Soft</dc:creator>
    <dc:date>2010-08-14T05:37:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.plt/41143">
    <title>[racket] hack: implicit function arguments</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.plt/41143</link>
    <description>&lt;pre&gt;  I came up with this little hack that lets you avoid giving an explicit 
argument list to functions. Arguments are discovered by usages of 
underscores followed by a number, like _1 and _2. Partly inspired by 
scala; sure to make your blood boil if you love hygiene.

;;; usage
(define/implicit foo1 (printf "~a ~a ~a\n" _8 _9 _8))
(foo1 5 12)

;;; code
#lang racket/base

(require (for-syntax racket/base
                      racket/list
                      syntax/parse
                      )
          racket/stxparam)

(define-syntax-rule (implicits all thing ...)
   (begin
     (define-syntax-parameter thing (lambda (stx)
                                   (raise-syntax-error #f (format "~a 
can only be used in a
  define/implicit function" 'thing))))
     ...
     (provide thing ...)
     (define-for-syntax all (list #'thing ...))))

(implicits all-implicits _1 _2 _3 _4 _5 _6 _7 _8 _9 _10)

(provide define/implicit lambda/implicit)
(define-syntax (lambda/implicit stx)
   (define (find-implicits stx)
   &lt;/pre&gt;</description>
    <dc:creator>Jon Rafkind</dc:creator>
    <dc:date>2010-08-14T05:01:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.plt/41142">
    <title>Re: [racket] Possible to install both plt-scheme from repo and racket from racket-lang.org?</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.plt/41142</link>
    <description>&lt;pre&gt;Thanks Horace, your first guess was correct, by 'repo' I mean my linux
distro (Ubuntu) software repository.

Thanks for your answer, I suspected that one install would 'clobber'
the other, just wanted to verify.

I prefer to use the distro repository to install software when
possible, since that makes it easier to manage and update (at least
for a relative Linux newbie), but Debian/Ubuntu hasn't updated the
plt-scheme package and dependencies to Racket yet.

Will probably continue using plt-scheme until I come across some
problem I specifically need to update to Racket for.

Thanks!

On Fri, Aug 13, 2010 at 1:13 PM, Horace Dynamite
&amp;lt;horace.dynamite-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:



&lt;/pre&gt;</description>
    <dc:creator>Byron Gibson</dc:creator>
    <dc:date>2010-08-14T04:21:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.plt/41141">
    <title>Re: [racket] Macros as a first class objects?</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.plt/41141</link>
    <description>&lt;pre&gt;2010/8/13 Sam Tobin-Hochstadt &amp;lt;samth-1vnkWVZi4QaVc3sceRu5cw&amp;lt; at &amp;gt;public.gmane.org&amp;gt;:

Hello,

syntax-local-value comes close to what I had in mind, but it only
works in the dynamic context of a running transformer procedure. While
this is probably fine for all practical purposes, I'm somewhat
surprised that it is apparently impossible to simply extract the
syntax binding of an identifier given a module or a namespace.

Ciao,
Thomas


&lt;/pre&gt;</description>
    <dc:creator>Thomas Chust</dc:creator>
    <dc:date>2010-08-14T01:57:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.plt/41140">
    <title>Re: [racket] Macros as a first class objects?</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.plt/41140</link>
    <description>&lt;pre&gt;
No, it's not.  It's the s-expression level that is almost free of
syntax.  At the level of parsing, there's quite a bit of syntax.


I think it's fairly safe to say that, at SOME point in his career,
such an example just may possibly have stolen across Matthias's mind
(-:.  You might learn more by thinking about why it is he rejected
this option, than by trying to sell him on it.

Shriram
&lt;/pre&gt;</description>
    <dc:creator>Shriram Krishnamurthi</dc:creator>
    <dc:date>2010-08-14T01:25:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.plt/41139">
    <title>Re: [racket] Possible to install both plt-scheme from repo and racket from racket-lang.org?</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.plt/41139</link>
    <description>&lt;pre&gt;
I'm sorry if I have missed something obvious, but I'm not at all sure
what you mean by "repo". First guess is a GNU/Linux distributions
repo, in which case, it's likely that installing one first (say
plt-scheme) and then following that by installing racket (and vice
versa) will clobber some exuctables because Racket installs backward
compatible drscheme (and friends) executables which really run the
drracket (and friends) executables. You could very well get all sorts
of other bizzare behaviour trying this. Smarter package managers might
not even allow such a situation.

You could mean the source code repos from the plt-scheme &amp;amp; racket-lang
sites respectively. In which case, you can pass the
--prefix=/dir/of/your/choice to the configure script when you build
them, and then add aliases in your shell for drscheme and drracket so
that they fire up what you want.

Or you could mean something entirely different. My appologies if I've
misundestood you.

I wonder why you'd want to do this though?

Horace.
&lt;/pre&gt;</description>
    <dc:creator>Horace Dynamite</dc:creator>
    <dc:date>2010-08-13T23:13:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.plt/41138">
    <title>Re: [racket] question about foldl implementation</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.plt/41138</link>
    <description>&lt;pre&gt;&lt;/pre&gt;</description>
    <dc:creator>Will Kurt</dc:creator>
    <dc:date>2010-08-13T23:27:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.plt/41137">
    <title>Re: [racket] question about foldl implementation</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.plt/41137</link>
    <description>&lt;pre&gt;+1 from me, too.  I always have to check myself to remember that the foldl accumulator argument comes in on the *right*.  FWIW, OCaml also does it the Haskell way (foldl accumulator on the left, foldr accumulator on the right).  

This also makes the obvious many-argument version more efficient:

(define (foldl kons knil . lists)
  (if (ormap null? lists)
    knil
    (apply foldl kons (apply kons knil (map car lists)) (map cdr lists))))

as opposed to

(define (foldl* kons knil . lists)
  (if (ormap null? lists)
    knil
    (apply foldl* kons (apply kons (append (map car lists) (list knil))) (map cdr lists))))

The extra append is kinda annoying in the foldl* version....

Will

On Aug 13, 2010, at 4:18 PM, Matthias Felleisen wrote:


&lt;/pre&gt;</description>
    <dc:creator>Will M. Farr</dc:creator>
    <dc:date>2010-08-13T22:21:24</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.plt/41136">
    <title>Re: [racket] Macros: "define" a variable with a transformed id</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.plt/41136</link>
    <description>&lt;pre&gt;
The short answer is hygiene is preventing you from binding identifiers 
created in the macro to escape the scope of the macro. You need to 
unhygienically introduce the identifier you want either through 
syntax-local-introduce or pass the original lexical context (from the 
macro use) to datum-&amp;gt;syntax.

Also you it looks like you are trying to munge the names of identifiers 
in the second pattern of `define-filter-category', but you need those 
functions to run at transformation time. Code won't run in a 
syntax-rules, it just gets expanded and returned.


&lt;/pre&gt;</description>
    <dc:creator>Jon Rafkind</dc:creator>
    <dc:date>2010-08-13T22:08:53</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.plt/41135">
    <title>[racket] Macros: "define" a variable with a transformed id</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.plt/41135</link>
    <description>&lt;pre&gt;I'm trying to write a macro that takes in an id, and creates a
variable with a name based on id, and adds a string based on id into a
list.

If I have (define-filter-category foo), I want it to add
"CICategoryFoo" to the FILTER-CATEGORIES list as well as introduce a
binding for the variable filter-category-foo.  I have the part that
adds the string to the list, but I do not know how to manipulate the
id and introduce the variable.  Can anyone shed some light on this for
me?  Thanks

What I have so far:

(define FILTER-CATEGORIES empty)

(define (id-&amp;gt;category-string n)
  (define (camel-case str)
    (regexp-replace* #rx"-" (string-titlecase str) ""))
  (string-append "CICategory" (camel-case (symbol-&amp;gt;string n))))

(define (id-&amp;gt;category-id n)
  (string-&amp;gt;symbol (string-append "filter-category-" (symbol-&amp;gt;string n))))

(define-syntax define-filter-category
  (syntax-rules ()
    ((_ id string)
     (begin
       ;;; FIXME: also (define ,id  string)
       (set! FILTER-CATEGORIES (cons string FILTER-CATEGORIES))))&lt;/pre&gt;</description>
    <dc:creator>Christopher Bowron</dc:creator>
    <dc:date>2010-08-13T21:46:26</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.plt/41134">
    <title>[racket] Possible to install both plt-scheme from repo and racketfrom racket-lang.org?</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.plt/41134</link>
    <description>&lt;pre&gt;Is it possible to install both of these, or do they overwrite parts of
each other?

&lt;/pre&gt;</description>
    <dc:creator>Byron Gibson</dc:creator>
    <dc:date>2010-08-13T21:40:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.plt/41133">
    <title>Re: [racket] question about foldl implementation</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.plt/41133</link>
    <description>&lt;pre&gt;+1,
jos 



&lt;/pre&gt;</description>
    <dc:creator>Jos Koot</dc:creator>
    <dc:date>2010-08-13T21:26:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.plt/41132">
    <title>Re: [racket] question about foldl implementation</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.plt/41132</link>
    <description>&lt;pre&gt;
I privately +1ed Joe, and I all supportive of introducing new folds and phasing out the old ones. 


On Aug 13, 2010, at 4:04 PM, Sam Tobin-Hochstadt wrote:


&lt;/pre&gt;</description>
    <dc:creator>Matthias Felleisen</dc:creator>
    <dc:date>2010-08-13T21:18:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.plt/41131">
    <title>Re: [racket] question about foldl implementation</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.plt/41131</link>
    <description>&lt;pre&gt;
The Haskell ordering also has the advantage of fitting with the Typed
Racket type system for variable-arity functions.
&lt;/pre&gt;</description>
    <dc:creator>Sam Tobin-Hochstadt</dc:creator>
    <dc:date>2010-08-13T20:04:48</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.lisp.scheme.plt">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.lisp.scheme.plt</link>
  </textinput>
</rdf:RDF>

