<?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 about="http://permalink.gmane.org/gmane.lisp.scheme.gauche">
    <title>gmane.lisp.scheme.gauche</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.gauche</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.gauche/1195"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1194"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1193"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1192"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1191"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1190"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1189"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1188"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1187"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1186"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1185"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1184"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1183"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1182"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1181"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1180"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1179"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1178"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1177"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1176"/>
      </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.gauche/1195">
    <title>Re: big number printout</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.gauche/1195</link>
    <description>Thanks very much for the explanation!  I should not send bug reports
at the end of a frustrating day -- the real problem started with a
different Scheme that actually had about 12 honest digits -- I
said "what does Gauche do?" and only got more tangled up.
Since every implementation is different, it would be nice to
know in advance the range for inexact integers -- I could
then add that check to my code.



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Bill Schottstaedt</dc:creator>
    <dc:date>2008-07-21T11:18:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1194">
    <title>Re: big number printout</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.gauche/1194</link>
    <description>From: "Bill Schottstaedt" &lt;bil&lt; at &gt;ccrma.Stanford.EDU&gt;
Subject: [Gauche-devel] big number printout
Date: Tue, 1 Jul 2008 07:35:27 -0700


The confusing part the last one, right?
The first four examples merely show that the 10^0 digit
of 40816513889983671.0 falls out of the precision limit;
no wonder with the floating point numbers.

The last one might hit you strange, though.  Although the
16th digit of 4.0816513889983674e16 doesn't matter,
the 16th digit of 4.0816513889983674 does.

The minimum required digits in decimal to represent IEEE
double-precision floating point numbers accurately varies
between 16 and 17, depending on the value of the floating
point number.  If you multiply the value by 10, this 
minimum required digits may change.  

Most programs I've seen (including programming language 
implementations) casually round the printed representation 
of floating point numbers in 15 or 16 digits.
With this approach, a two different floating point
numbers X and Y can have the same printed representation.
</description>
    <dc:creator>Shiro Kawai</dc:creator>
    <dc:date>2008-07-21T03:17:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1193">
    <title>big number printout</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.gauche/1193</link>
    <description>Not sure this is a bug, but it is confusing:

gosh&gt; (gauche-version)
"0.8.13"
gosh&gt; (+ 40816513889983671.0 3.0)
4.081651388998367e16
gosh&gt; (= (+ 40816513889983671.0 3.0) 4.081651388998367e16)   
#t
gosh&gt; (= (+ 40816513889983671.0 3.0) 40816513889983674.0)
#t
gosh&gt; (= 40816513889983670.0 40816513889983674.0)
#t
gosh&gt; (= 4.0816513889983670 4.0816513889983674) 
#f



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Bill Schottstaedt</dc:creator>
    <dc:date>2008-07-01T14:35:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1192">
    <title>Re: Warning: svn trunk broken</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.gauche/1192</link>
    <description>This problem has been addressed.   Revision 6290 is in consistent state.

--shiro


From: Shiro Kawai &lt;shiro&lt; at &gt;lava.net&gt;
Subject: [Gauche-devel] Warning: svn trunk broken
Date: Sun, 13 Jul 2008 06:24:15 -1000 (HST)


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
</description>
    <dc:creator>Shiro Kawai</dc:creator>
    <dc:date>2008-07-14T08:59:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1191">
    <title>Warning: svn trunk broken</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.gauche/1191</link>
    <description>For those who's following the breeding-edge:

I accidentally committed an experimental code which needs other
uncommitted changes.  Unfortunately SourceForge.net svn repository
got full disk at this very moment and I cannot commit fix.  (Disks
get full always in a wrong moment, right?)

The following is the minimal patch required to build from svn trunk.
Apply it if you check out the revision 6289.   Once sf.net solves
the disk issue I'll commit the fix.

--shiro

===================================================================
--- src/compile.scm     (revision 6289)
+++ src/compile.scm     (working copy)
&lt; at &gt;&lt; at &gt; -3383,16 +3383,8 &lt; at &gt;&lt; at &gt;
           (pass3/if-numcmp iform (car args) (cadr args)
                            BNLE ($*-src test) ccb renv ctx))
          ((eqv? code NUMLT2)
-          (cond
-           [(and (has-tag? (car args) $LREF)
-                 (receive (depth offset)
-                     (renv-lookup renv ($lref-lvar (car args)))
-                   (and (zero? depth) (zero? offset))))
-       </description>
    <dc:creator>Shiro Kawai</dc:creator>
    <dc:date>2008-07-13T16:24:15</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1190">
    <title>ANN: dyncomp 0.1.2</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.gauche/1190</link>
    <description>Hi all.

dyncomp 0.1.2 is released.

dycomp is a module that enables to create C function with  
gauche.cgen.cise (C in S expression). This function is compiled to  
native code with Tiny C Compiler (http://bellard.org/tcc/), so you can  
create a fast function.

The change from the previous version is:
    - Added Windows/MinGW support.

See http://homepage.mac.com/naoki.koguro/prog/dyncomp/index.html for
more details.

--
KOGURO, Naoki &lt;naoki&lt; at &gt;koguro.net&gt;


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
</description>
    <dc:creator>KOGURO, Naoki</dc:creator>
    <dc:date>2008-07-11T22:14:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1189">
    <title>Re: profiler overflow</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.gauche/1189</link>
    <description>From: Sven.Hartrumpf&lt; at &gt;FernUni-Hagen.de
Subject: [Gauche-devel] profiler overflow
Date: Wed, 09 Jul 2008 15:42:17 +0200 (CEST)


Ouch.  I think I was afraid of the count going up to bignum,
thus limitted the counter in fixnum range.

I looked at the code and it seems that I can use multiple
fixnums without introducing much overhead.  60bits are probably
enough (before it overflows, I think sampling buffer would bust).
I'll see if I can put the fix in the next release.

For the time being, and probably better workaround for 
long-running programs, is to call profiler API from your program,
collecting, saving and resetting the result periodically.
Later you can sum up the result (you can get the result in
S-expression, so it'll be pretty easy to postprocess them).
Since the amount of sampling results never decreases until
the profiler is reset, the approach would be much safer 
for daemon-like programs.

--shiro



-------------------------------------------------------------------------
Sponsored by: SourceForg</description>
    <dc:creator>Shiro Kawai</dc:creator>
    <dc:date>2008-07-09T15:45:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1188">
    <title>profiler overflow</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.gauche/1188</link>
    <description>-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08_______________________________________________
Gauche-devel mailing list
Gauche-devel&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gauche-devel
</description>
    <dc:creator>Sven.Hartrumpf&lt; at &gt;FernUni-Hagen.de</dc:creator>
    <dc:date>2008-07-09T13:42:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1187">
    <title>Re: a little question about wiliki</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.gauche/1187</link>
    <description>From: JP Theberge &lt;yes0d&lt; at &gt;yahoo.fr&gt;
Subject: [Gauche-devel] a little question about wiliki
Date: Sat, 5 Jul 2008 01:43:02 +0000 (GMT)


Yes, you can ask it here.


I already forgot what I was intended in the API, but as far as
I can figure out from the source, the list after the regexp is
a list of variables that receives the (sub)matches of the actual
page name.  So, try

  (define-virtual-page (#/^RSS_.*/ (name))
    &lt;body&gt; ...)

and the variable 'name' will be bound to the entire match,
which should be the given name, or

  (define-virtual-page (#/^RSS_(.*)/ (name subname))
    &lt;body&gt; ...)

to extract the subname without "RSS_" prefix.

--shiro


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
</description>
    <dc:creator>Shiro Kawai</dc:creator>
    <dc:date>2008-07-05T23:01:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1186">
    <title>ANN: dyncomp 0.1.1</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.gauche/1186</link>
    <description>Hi all.

dyncomp 0.1.1 is released.

dycomp is a module that enables to create C function with  
gauche.cgen.cise (C in S expression). This function is compiled to  
native code with Tiny C Compiler (http://bellard.org/tcc/), so you can  
create a fast function.

The change from the previous version is:
    - Added MacOSX and FreeBSD support (only x86).

See http://homepage.mac.com/naoki.koguro/prog/dyncomp/index.html for  
more details.

--
KOGURO, Naoki &lt;naoki&lt; at &gt;koguro.net&gt;


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
</description>
    <dc:creator>KOGURO, Naoki</dc:creator>
    <dc:date>2008-07-05T15:35:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1185">
    <title>a little question about wiliki</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.gauche/1185</link>
    <description>I hope it is the right place to ask.

Is there a way to get the name of the current page from within a virtual page?

for example if I call the page wiliki.cgi?p=RSS_myblog

I want to be able to use the string "myblog" from within 

(define-virtual-page (#/^RSS_/ (_))
...

Any help will be greatly appreciated!

--
JP Theberge





      Offrez un compte Flickr Pro à vos amis et à votre famille.
http://www.flickr.com/gift/

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
</description>
    <dc:creator>JP Theberge</dc:creator>
    <dc:date>2008-07-05T01:43:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1184">
    <title>ANN: dyncomp 0.1</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.gauche/1184</link>
    <description>Hi all.

dyncomp 0.1 is released.

dycomp is a module that enables to create C function in  
gauche.cgen.cise (C in S expression). This function is compiled to  
native code with Tiny C Compiler (http://bellard.org/tcc/), so you can  
create a fast function.

Here is a Mandelbrot set benchmark in linux (PentiumM 2.13GHz).

# Scheme function
% gosh examples/mandelbrot.scm
;(time (fill-image image size))
; real   1.190
; user   1.180
; sys    0.010

# C function (using dyncomp)
% gosh examples/mandelbrot.scm -c
;(time (fill-image-fast image size))
; real   0.025
; user   0.020
; sys    0.000

See http://homepage.mac.com/naoki.koguro/prog/dyncomp/index.html for  
more details.

NOTE: dyncomp works only in Linux x86.

--
KOGURO, Naoki &lt;naoki&lt; at &gt;koguro.net&gt;


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
</description>
    <dc:creator>KOGURO, Naoki</dc:creator>
    <dc:date>2008-06-22T05:36:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1183">
    <title>Re: Migrating to Subversion</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.gauche/1183</link>
    <description>Most of Gauche source trees on sf.net have been migrated to
Subversion.

http://gauche.svn.sourceforge.net/viewvc/gauche/

See my previous email quoted below for the instructions 
of how to check them out (replace Gauche-gl with suitable
module name).

I didn't touch Gauche-gtk and Gauche-h2s.  Michal, if you
like to move to Subversion, let me know and I can migrate
them as well.

--shiro


From: Shiro Kawai &lt;shiro&lt; at &gt;lava.net&gt;
Subject: [Gauche-devel] Migrating to Subversion
Date: Fri, 06 Jun 2008 00:27:29 -1000 (HST)


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
</description>
    <dc:creator>Shiro Kawai</dc:creator>
    <dc:date>2008-06-19T10:10:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1182">
    <title>Gauhebox-0.8.13-box2.exe released.</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.gauche/1182</link>
    <description>hi.

I released Gauchebox-0.8.13-box2.exe.

http://sourceforge.net/project/showfiles.php?group_id=25227

This release includes Gauche-mingw, Meadow(Emacs22), Gauche-gl, slib,  
WiLiKi, etc.
Thank you saito-san, I use youre Gauche-mingw build.

</description>
    <dc:creator>えんどう やすゆき</dc:creator>
    <dc:date>2008-06-16T10:11:24</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1181">
    <title>ANN: Gauche-rfb 0.1.3</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.gauche/1181</link>
    <description>Hi all.

Gauche-rfb 0.1.3 is released.

Gauche-rfb is a cross-platform simple graphics library using VNC  
protocol. You can connect to it using VNC client or Web browser.

The changes from the previous version are:
    - Added the support of Flash's policy file request. If you use  
Flash Player 9,0,115,0 or later, you must upgrade Gauche-rfb.

See http://homepage.mac.com/naoki.koguro/prog/Gauche-rfb/index.html  
for more details.

There are some videos to introduce Gauche-rfb (these videos are for  
Japanese speaker, but you can get what Gauche-rfb can do if you know  
Scheme).
- Lightning Talk in gauche.night 2007
http://video.google.com/videoplay?docid=4894372035050844386
- LiveCoding of making Conway's Game of Life (using Gauche-rfb to  
display)
http://d.hatena.ne.jp/koguro/20080126

Enjoy.

--
KOGURO, Naoki &lt;naoki&lt; at &gt;koguro.net&gt;


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just ab</description>
    <dc:creator>KOGURO, Naoki</dc:creator>
    <dc:date>2008-06-06T16:05:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1180">
    <title>Migrating to Subversion</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.gauche/1180</link>
    <description>Hi Gauche developers,

I've been procrastinating this, but SourceForge.net's CVS
is getting so slow enough to convince me to finally
start migrating Gauche repository to Subversion.

Since Gauche repository have several packages and we have
several committers, I gradually move one package at a time
whenever I find time to do so.   I just migrated Gauche-gl
for the starter.  I'm going to move small packages first,
then Gauche itself.

When you browse the source at the sourceforge.net webpage,
check out the subversion repository first:
http://gauche.svn.sourceforge.net/viewvc/gauche/
Once a package is migrated, the CVS repository will no longer
be updated.  I'll try to remove files from CVS repository
to avoid confusions, but there may be some delay.

Here's a short summary of how to access the new repository,
for your convenience:


THOSE WHO WANT TO GET CUTTING EDGE SOURCE
-----------------------------------------

This command works in general:

$ svn co https://gauche.svn.sourceforge.net/svnroot/gauche/Gau</description>
    <dc:creator>Shiro Kawai</dc:creator>
    <dc:date>2008-06-06T10:27:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1179">
    <title>Re: typo in doc of permute</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.gauche/1179</link>
    <description>patch applied.  thanks.

--shiro

From: Masatake YAMATO &lt;yamato&lt; at &gt;redhat.com&gt;
Subject: [Gauche-devel] typo in doc of permute
Date: Wed, 28 May 2008 18:31:33 +0900 (JST)


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
</description>
    <dc:creator>Shiro Kawai</dc:creator>
    <dc:date>2008-05-29T04:02:26</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1178">
    <title>typo in doc of permute</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.gauche/1178</link>
    <description>Hi,

I found a typo in modgauche.texi. If it is not fixed yet, please
install following patch.

Masatake YAMATO


Index: modgauche.texi
===================================================================
RCS file: /cvsroot/gauche/Gauche/doc/modgauche.texi,v
retrieving revision 1.112
diff -c -r1.112 modgauche.texi
*** modgauche.texi18 Apr 2008 11:06:02 -00001.112
--- modgauche.texi28 May 2008 09:24:01 -0000
***************
*** 8079,8085 ****
  
  &lt; at &gt;example
  (permute '(a b c d) '(3 2 0 1))     &lt; at &gt;result{} (d c a b)
! (permute '(a b c d) '(0 2))         &lt; at &gt;result{} (a b)
  (permute '(a b c d) '(0 0 1 1 2 2)) &lt; at &gt;result{} (a a b b c c)
  &lt; at &gt;end example
  
--- 8079,8085 ----
  
  &lt; at &gt;example
  (permute '(a b c d) '(3 2 0 1))     &lt; at &gt;result{} (d c a b)
! (permute '(a b c d) '(0 2))         &lt; at &gt;result{} (a c)
  (permute '(a b c d) '(0 0 1 1 2 2)) &lt; at &gt;result{} (a a b b c c)
  &lt; at &gt;end example
  

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Mic</description>
    <dc:creator>Masatake YAMATO</dc:creator>
    <dc:date>2008-05-28T09:31:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1177">
    <title>ANN: c-wrapper 0.5.4</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.gauche/1177</link>
    <description>Hi all.

c-wrapper 0.5.4 is released.

c-wrapper is a foreign function interface for Gauche, and you can use
C libraries easily.

The changes from the previous version are:
    - Added partial support of Objective-C 2.0.
    - Modified ptr-&gt;string and x-&gt;string to copy an original string.

See http://homepage.mac.com/naoki.koguro/prog/c-wrapper/index.html
for more details.

Enjoy.

--
KOGURO, Naoki &lt;naoki&lt; at &gt;koguro.net&gt;


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
</description>
    <dc:creator>KOGURO, Naoki</dc:creator>
    <dc:date>2008-05-11T03:29:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1176">
    <title>Re: c-wrapper: performance problem</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.gauche/1176</link>
    <description>

Ah ok. For now I use:
(define (c-byte-array-&gt;u8vector3 array)
  (let1 ret (make-u8vector (size-of array))
(memcpy ret array (size-of array))
ret))

$ ./c-wrapper-perfomance-problem 1000000
;(time (c-byte-array-&gt;u8vector1 (cast (c-array &lt;c-uchar&gt; bytes) array)))
; real  25.281
; user  25.250
; sys    0.010
;(time (c-byte-array-&gt;u8vector2 (cast (c-array &lt;c-uchar&gt; bytes) array)))
; real  23.319
; user  23.320
; sys    0.010
;(time (c-byte-array-&gt;u8vector3 (cast (c-array &lt;c-uchar&gt; bytes) array)))
; real   0.002
; user   0.000
; sys    0.000

Thanks,
Jens

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
</description>
    <dc:creator>Jens Thiele</dc:creator>
    <dc:date>2008-04-11T15:47:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.scheme.gauche/1175">
    <title>Re: c-wrapper: performance problem</title>
    <link>http://permalink.gmane.org/gmane.lisp.scheme.gauche/1175</link>
    <description>Hi Jens,

On 2008/04/11, at 3:52, Jens Thiele wrote:

You're right, the cast method has not been optimized for uvector yet.
If you want to use bulk copy, you can use memcpy as you do in C, such  
like the code below.

(define buf (make-u8vector 100))
;; ary is C byte array.
(memcpy buf ary 100)

An uvector is used in pointer context, the pointer of the uvector's  
storage is passed to C function.

--
KOGURO, Naoki &lt;naoki&lt; at &gt;koguro.net&gt;


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
</description>
    <dc:creator>KOGURO, Naoki</dc:creator>
    <dc:date>2008-04-11T12:50:44</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.lisp.scheme.gauche">
    <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.gauche</link>
  </textinput>
</rdf:RDF>
