There's also (chibi term edit-line) which is a pure R7RS implementation and
should work with Chicken.
I haven't put it up on snow-fort yet though.
--
Alex
On Sat, Mar 23, 2019 at 10:17 PM Juergen Lorenz wrote:
> Hi all,
> there is a very easy to use and simple alternative to readline and
>
It's not a bug, it's the template which is an error. See the discussion on
the chibi list:
https://groups.google.com/d/msg/chibi-scheme/7fTzofNrPrI/Yy_aibRdBQAJ
--
Alex
On Fri, Mar 10, 2017 at 7:16 PM, Peter Bex wrote:
> On Fri, Mar 10, 2017 at 11:10:35AM +0100, Sascha
w-fort.org/
Organizers:
Alex Shinn (general chair)
Kathy Gray (program chair)
(Apologies for duplications from cross-posting.)
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users
of 6 to 12 pages.
Presentation submissions should include an outline of the material.
Talks are 40 minutes, including questions and answers.
More information available at: http://scheme2016.snow-fort.org/
Organizers:
Alex Shin
On Sun, Jan 3, 2016 at 1:48 AM, Peter Bex wrote:
> On Sat, Jan 02, 2016 at 11:40:47AM -0500, Sudarshan S Chawathe wrote:
> > I seem to get incorrect output and errors in some cases when using the
> > fmt and numbers eggs together. A brief transcript illustrating the
> >
On Fri, Nov 20, 2015 at 5:53 AM, Christian Kellermann
wrote:
>
> I would like to ask some help for finding the right fmt expression to
> print entries formatted as like this:
>
> 2015-11-20 foo bar baz... Some·Label Some·Other·Label
> -123.23
On Fri, Oct 30, 2015 at 10:01 PM, John Cowan wrote:
> Peter Bex scripsit:
>
> > Note the nonl, which the manual states is equivalent to ".", but of
> > course nonl means "no newline".
>
> Dot in regular expressions has *always* meant "match any character but a
> newline".
On Mon, Oct 5, 2015 at 11:42 PM, Matt Welland
wrote:
> I need to install multiple versions of my refdb and logpro eggs. My first
> thought was to take advantage of deploy but I get the error below. Other
> than hacking them to make a local install I'm out of ideas, any
On Thu, May 28, 2015 at 3:59 PM, Peter Bex pe...@more-magic.net wrote:
Yeah, the numbers random implementation is shitty, which is why I
decided to omit it from my port to CHICKEN core (CHICKEN 5's random is
still fixnum only).
This is surprisingly hard to do well - the Chibi SRFI-27
On Tue, Feb 24, 2015 at 7:17 PM, Moritz Heidkamp mor...@twoticketsplease.de
wrote:
Hi Alex,
On 24 February 2015 00:13 CET, Alex Shinn wrote:
You may be falling short of the issue described by SRFI 45,
which is that in all known Scheme implementations:
(define (loop) (delay (force
On Mon, Feb 23, 2015 at 9:57 PM, Kooda ko...@upyum.com wrote:
Hi!
I’ve been playing with lazy-seq for the past few days and found a very
strange behaviour:
The heap of the following program keeps growing rapidly in csi, running
the same program after compilation seems to slow down the
On Tue, Dec 30, 2014 at 3:47 AM, mfv m...@freeshell.de wrote:
Hello,
I somehow always manage to get it working with sxpath when I need to do
some web scraping, but it's somewhat painful.
Thanks, I will have a look at sxpath.
Are there any packages like Python's Beautifulsoup in the
Merry Christmas and Happy New Year from Tokyo!
May 2015 be filled with Scheming!
--
Alex
On Thu, Dec 25, 2014 at 1:39 PM, Bahman Movaqar bah...@bahmanm.com wrote:
Merry Christmas and happy new year.
With best of wishes for CHICKEN'ers and their families from ancient Iran.
Bahman
arithmetic
-Dan
On 14-12-15 03:01 PM, Alex Shinn wrote:
On Tue, Dec 16, 2014 at 2:51 AM, Bahman Movaqar bah...@bahmanm.com
wrote:
Hah! Great guess on #chicken Mario! It was my ISP...it installed
smoothly after bypassing that stupid filter. Thanks for the help.
There was a porn
On Tue, Dec 16, 2014 at 2:51 AM, Bahman Movaqar bah...@bahmanm.com wrote:
Hah! Great guess on #chicken Mario! It was my ISP...it installed smoothly
after bypassing that stupid filter. Thanks for the help.
There was a porn filter applied to all internet traffic which removed the
cock egg?
This appears to be a chicken-specific extension:
http://www.chust.org/fossils/srfi-99/wiki?name=variant+types
I'm not sure I understand that description, but appears to be something
like a union type?
--
Alex
On Mon, Dec 15, 2014 at 12:12 PM, Bahman Movaqar bah...@bahmanm.com wrote:
Reading
On Fri, Oct 3, 2014 at 6:19 AM, r d...@bk.ru wrote:
Whole logic in Chicken with ffi to platform specific HAL C libraries, our
audio/video player library uses CPS control-flow to manage complex hardware
accelerators state so its also pretty schemish even if written in C.
GUI based on the
On Thu, Oct 2, 2014 at 10:05 PM, Peter Bex peter@xs4all.nl wrote:
On Thu, Oct 02, 2014 at 01:47:15PM +0100, Andy Bennett wrote:
Hi,
You could use submatch info and check which submatch matched.
This would keep the matching as a single regexp, but you'd then
need a linear scan to
On Thu, Oct 2, 2014 at 8:22 AM, Andy Bennett andy...@ashurst.eu.org wrote:
Hi,
I am trying to use the browscap.org database to do HTTP User Agent
Classification.
This database consists of a (large) number of regexes and data about the
browser should the user agent string match that regex.
On Wed, Jul 30, 2014 at 9:33 PM, John Cowan co...@mercury.ccil.org wrote:
Peter Bex scripsit:
While you're looking at that, could you also take a look at this ticket?
https://bugs.call-cc.org/ticket/935
That was from 22 months ago... I don't remember
exactly when it was fixed but it works
On Mon, Jul 28, 2014 at 9:30 PM, John Cowan co...@mercury.ccil.org wrote:
Alex Shinn scripsit:
The solution is definitely not to write your own comparison function,
and trust that the test egg is doing the right thing.
It isn't, though, not quite. What it needs to do is not a dichotomy
On Mon, Jul 28, 2014 at 10:09 PM, John Cowan co...@mercury.ccil.org wrote:
Alex Shinn scripsit:
If people think it's useful I'd consider walking pairs and vectors.
They are the most important cases, because the expected value is
expressed as a literal value, and that can only be a list
On Sun, Jul 27, 2014 at 10:03 AM, Matt Gushee m...@gushee.net wrote:
Hmm, just realized something. The test egg documentation also says:
Percentage difference allowed ...
So if the expected value is 0, then no variance is allowed? If that's
true, then epsilon isn't what I want anyway. I
On Sun, Jul 27, 2014 at 10:03 AM, Matt Gushee m...@gushee.net wrote:
Hmm, just realized something. The test egg documentation also says:
Percentage difference allowed ...
So if the expected value is 0, then no variance is allowed?
Naturally we handle this case correctly and check the
On Sun, Jul 27, 2014 at 11:02 AM, Alex Charlton alex.n.charl...@gmail.com
wrote:
Matt Gushee writes:
I guess my explanation wasn't entirely clear, but that's pretty much
what I was already doing. I showed the equality predicate I was using,
which tests individual values in the list with
On Sat, Jul 12, 2014 at 4:03 PM, John Cowan co...@mercury.ccil.org wrote:
Alex Shinn scripsit:
There are actually many implementations for which this is an error.
Notably R6RS requires it to be an error.
Not too many outside R6RS, actually: only RScheme, SXM, SigScheme, UMB,
Dfsch
On Fri, Jul 11, 2014 at 7:20 AM, Oleg Kolosov bazur...@gmail.com wrote:
On 07/09/14 09:00, Alex Shinn wrote:
The clean way to handle this is to duplicate the useful string
APIs for bytevectors. This could be done without code duplication
with the use of functors, though compiler
On Fri, Jul 11, 2014 at 6:53 AM, Michele La Monaca
mikele.chic...@lamonaca.net wrote:
Wouldn't be simpler and more effective this other path?
1) keep current string functions as they are (i.e. byte-oriented) and
keep abusers abusing (and happy)
2) provide new utf8/cursor-oriented functions
On Wed, Jul 9, 2014 at 7:15 AM, Oleg Kolosov bazur...@gmail.com wrote:
IMO just enable utf8 by default and let them break. Is it's not 80's
anymore, latin1 only software should die.
I agree that if people want latin1 only there should at best be
a compiler option for this which is disabled
On Tue, Jul 8, 2014 at 11:00 PM, Mario Domenech Goulart
mario.goul...@gmail.com wrote:
On Tue, 8 Jul 2014 12:42:21 +0900 Alex Shinn alexsh...@gmail.com wrote:
4. Make affected eggs functors on the set of basic string operations.
Wouldn't 4 be an implementation method of 2?
Yes
Hi,
On Tue, Jul 8, 2014 at 5:58 AM, Mario Domenech Goulart
mario.goul...@gmail.com wrote:
Hi,
I want to use some eggs and I need them to handle UTF-8. By handle
UTF-8 I mean treat strings as UTF-8, so that
(string (string-ref ç 0)) = ç
for example.
CHICKEN's string-related
On Tue, Jul 8, 2014 at 12:59 PM, John Cowan co...@mercury.ccil.org wrote:
The same approaches also apply to eggs needing the full
numeric tower, though with UTF-8 there's less chance of
breakage when mixing eggs which do and don't use the utf8 egg.
I would say that UTF-8 has *more*
On Fri, May 9, 2014 at 6:44 AM, Andy Bennett andy...@ashurst.eu.org wrote:
Empty attributes now seem to decode to the string ().
Fixed.
During quot; deserialisation when inside an attribute, we seem to get data
from earlier in the stream introduced:
I couldn't reproduce this. Could you
On Fri, May 9, 2014 at 8:26 AM, Andy Bennett andy...@ashurst.eu.org wrote:
Which CHICKEN are you using? I can reproduce it with 0.5.2 on 4.9.0rc1:
Nevermind, I had only checked 0.5.3. I can see it in 0.5.2.
___
Chicken-users mailing list
On Mon, Mar 31, 2014 at 3:15 AM, Claude Marinier claudem...@gmail.comwrote:
On Sun, 30 Mar 2014, Claude Marinier wrote:
I just built chicken 4.8.0.5 on MS Windows Vista with a somewhat recent
cygwin. The installation process went well but csi could not find parley.
Turns out parley needs
On Tue, Mar 11, 2014 at 9:20 PM, Daniel Carrera dcarr...@gmail.com wrote:
On 11 March 2014 12:41, Alex Shinn alexsh...@gmail.com wrote:
Chibi has string-map in (chibi string).
But actually, if you're aiming for R7RS support then
string-map is in (scheme base). Just replace the
cond
On Tue, Mar 11, 2014 at 7:15 PM, Daniel Carrera dcarr...@gmail.com wrote:
With the last suggestion from Alex, and a tip to use cond-expand from Kon,
I have settled on the following:
-
;
; Works with Chicken Scheme and Gauche.
;
(cond-expand (chicken (use
On Tue, Mar 11, 2014 at 6:16 AM, Daniel Carrera dcarr...@gmail.com wrote:
On 10 March 2014 20:04, Daniel Carrera dcarr...@gmail.com wrote:
I am trying to write an R7RS-compliant version. R7RS would give me
import, as well as char-integer and integer-char. The problem I'm
having is that my
On Sun, Mar 9, 2014 at 7:51 PM, Daniel Carrera dcarr...@gmail.com wrote:
Hello,
I hope nobody minds an R7RS question. This list seems to have people
knowledgeable of R7RS. It seems weird that R7RS would specify the functions:
There's also scheme-repo...@scheme-reports.org but
I doubt people
On Sun, Mar 2, 2014 at 8:51 PM, Michele La Monaca
mikele.chic...@lamonaca.net wrote:
While writing my own version of irregex-replace can be (hopefully) an
enjoyable
6-line coding experience (btw, irregex-apply-match is not documented):
Oops, thanks, I'll document it.
(define
Hi Michele,
On Sat, Mar 1, 2014 at 7:32 AM, Michele La Monaca
mikele.chic...@lamonaca.net wrote:
Hi,
I've noticed that irregex-replace returns the original string
if no replacement takes place. I think its a very poor choice.
Whether or not a replacement was actually made can be an
empty.
Given that I can see pros and cons to both approaches,
I'm inclined to leave as-is for now.
--
Alex
Jim
On Sep 8, 2013, at 7:30 AM, Alex Shinn alexsh...@gmail.com wrote:
On Thu, Sep 5, 2013 at 12:39 AM, Philip Kent phi...@knodium.com wrote:
Hi Alex,
Excellent! Thanks
On Mon, Oct 28, 2013 at 12:40 PM, Alex Shinn alexsh...@gmail.com wrote:
On Sat, Oct 26, 2013 at 1:13 AM, r d...@bk.ru wrote:
Hi,
i have found that on some numbers iset-intersection produce wrong results.
example in attachment, all numbers in fixnum range
Thanks for the report! If I
On Sat, Oct 26, 2013 at 1:13 AM, r d...@bk.ru wrote:
Hi,
i have found that on some numbers iset-intersection produce wrong results.
example in attachment, all numbers in fixnum range
Thanks for the report! If I don't have time before I'll fix this on the
weekend.
iset b a:(44189 50194
On Sun, Oct 27, 2013 at 3:38 AM, Peter Bex peter@xs4all.nl wrote:
On Sat, Oct 26, 2013 at 10:37:36AM -0700, Matt Welland wrote:
This regex is so slow that you don't need a timer to see the impact (at
least not on my machine with chicken 4.8.0):
(string-match [a-z][a-z0-9\\-_.]{0,20}
On Fri, Sep 20, 2013 at 9:30 AM, Matt Gushee m...@gushee.net wrote:
Hi, Alex--
On Thu, Sep 19, 2013 at 5:33 PM, Alex Shinn alexsh...@gmail.com wrote:
This looks like an oversight. The fix is simple, but my dev
machine just died so it may take me a couple days to get to it.
Fair enough
On Fri, Sep 20, 2013 at 5:55 AM, Matt Gushee m...@gushee.net wrote:
Hello--
I've noticed the following unexpected behavior with the string
trimming functions in utf8-srfi-13:
[...]
csi (use utf8-srfi-13)
; loading /usr/lib/chicken/6/utf8-srfi-13.import.so ...
; etc.
csi (map
On Thu, Sep 5, 2013 at 12:39 AM, Philip Kent phi...@knodium.com wrote:
Hi Alex,
Excellent! Thanks for looking into it and for the tip re custom parsers -
I was trying to understand that code!
It should work now, let me know if you have any problems.
--
Alex
On Thu, Apr 11, 2013 at 1:48 AM, Andy Bennett andy...@ashurst.eu.orgwrote:
Hi,
When specifying your own multiple Content-Type, you
need to include the boundary:
Content-Type: multipart/alternative; boundary=xyzzy
Boundary: xyzzy
[Ideally it should infer the boundary in this
Hi Andy,
On Fri, Apr 5, 2013 at 9:30 AM, Andy Bennett andy...@ashurst.eu.org wrote:
Hi,
Can anyone offer guidance on how to send a multipart/alternative mail
with hato? I'm trying to send HTML mail with a text/plain alternative.
For my proof of concept I tried:
-
(send-mail From:
the correct answers when
passed wide chars.
--
Alex
Ivan
On Sat, Jan 26, 2013 at 1:42 PM, Alex Shinn alexsh...@gmail.com wrote:
On Wed, Jan 23, 2013 at 5:09 PM, Alex Shinn alexsh...@gmail.com wrote:
On Wed, Jan 23, 2013 at 3:45 PM, Ivan Raikov ivan.g.rai...@gmail.comwrote:
Yes, I ran
On Wed, Jan 23, 2013 at 5:09 PM, Alex Shinn alexsh...@gmail.com wrote:
On Wed, Jan 23, 2013 at 3:45 PM, Ivan Raikov ivan.g.rai...@gmail.comwrote:
Yes, I ran into this when I was adding UTF-8 support to mbox... If you
were to add wide char support in srfi-14, is there a way to quantify
On Thu, Jan 17, 2013 at 4:51 AM, Peter Bex peter@xs4all.nl wrote:
On Tue, Jan 15, 2013 at 02:44:08PM +0900, Alex Shinn wrote:
This result looks broken. As I noted in my previous mail, the URI
representation already handles non-ASCII characters and escapes on
output:
$ csi -R uri
On Tue, Jan 15, 2013 at 3:03 PM, Ivan Raikov ivan.g.rai...@gmail.comwrote:
Percent-encoded sequences of more than one octet will not get touched by
pct-decode in the current implementation, so you will not get double
escaping. Percent-encoded sequences of one octet will get decoded if they
On Tue, Jan 15, 2013 at 7:48 PM, Peter Bex peter@xs4all.nl wrote:
These special characters are called reserved in the BNF. As you can
see, the question mark, equals sign and ampersand is in there.
For query urlencoded query strings, these *cannot* be decoded, because
then you can't
On Wed, Jan 16, 2013 at 12:59 AM, Peter Bex peter@xs4all.nl wrote:
On Wed, Jan 16, 2013 at 12:39:16AM +0900, Alex Shinn wrote:
The internal representation is either decoded, or it is encoded.
Either can be made to work.
In this case, the decoded uri-common representation
On Tue, Jan 15, 2013 at 7:35 AM, Sungjin Chun chu...@gmail.com wrote:
Thank you very much. :-)
My proposed hack(yes, no solution) just works for me but I found that it
is just wrong w.r.t RFC.
I'll try your modification and and let you know whether it works or not.
Thank you again.
On
On Tue, Jan 15, 2013 at 11:50 AM, Sungjin Chun chu...@gmail.com wrote:
My intention is to create search client for Solr (search server using
lucene); where I should send
request URL like this;
http://127.0.0.1:8983/solr/select?q=삼계탕start=0rows=10
I've tried to create this client using
On Tue, Jan 15, 2013 at 2:23 PM, Ivan Raikov ivan.g.rai...@gmail.comwrote:
Hi again,
I have now extended the utf8 code in uri-generic, so that UTF-8
sequences are percent-encoded as lists of the form '(% h1 h2 [% h3 h4
...])). The percent-decoding routine is not going to decode sequences
On Mon, Jan 14, 2013 at 1:36 PM, Sungjin Chun chu...@gmail.com wrote:
As far as I know, revised RFC permits UTF-8 characters in the URL without
encoding. Am I wrong here?
The latest URI RFC is 3986. The relevant description in prose is:
Local names, such as file system names, are stored
Added.
On Fri, Nov 2, 2012 at 11:52 PM, .alyn.post.
alyn.p...@lodockikumazvati.org wrote:
I'm trying to use string-join in my egg git-hooks-mediawiki[1].
This egg imports utf8-srfi-13, and I am getting an error message
about this routine:
Warning: reference to possibly unbound identifier
that the deprecated features used in these eggs are the
primary reasons for the majority of the test failures. The owners
of these eggs are active here:
Alex Shinn
+ utf8
Kon Lovett
+ condition-utils
+ lookup-table
+ srfi-41
+ stack
I don't have the required permission in svn
On Fri, Jul 20, 2012 at 8:56 PM, Дмитрий dm...@yandex.ru wrote:
As for the character classes, they can be generated quite easily from the
UnicodeData.txt[1] file. We can get a general category[2] from this file
by sth like (string-symbol (caddr (string-split line ,))); then we just
need to
On Sat, Jul 21, 2012 at 3:19 AM, Charles Hixson
charleshi...@earthlink.net wrote:
On 07/20/2012 04:05 AM, Дмитрий wrote:
Hello.
Does IrRegex support Unicode character classes? E.g. Will IrRegex consider
accented letters (á) or Cyrillic letters (я) as alpha? Wil IrRegex
consider Chinese wide
On Thu, Jul 12, 2012 at 4:39 PM, Alex Queiroz asand...@gmail.com wrote:
Hallo,
On Thu, Jul 12, 2012 at 4:25 AM, Alex Shinn alexsh...@gmail.com wrote:
I disagree - I think a stack grown too large is likely indicative
of a programming error, or at the very least an inefficient
algorithm
On Thu, Jul 12, 2012 at 4:51 PM, Alex Queiroz asand...@gmail.com wrote:
On Thu, Jul 12, 2012 at 9:47 AM, Alex Shinn alexsh...@gmail.com wrote:
Wow, if you've got a magical Scheme compiler that
can read my mind and fix all my bugs for me I'll switch
right now! :)
Are you really saying
On Thu, Jul 12, 2012 at 10:52 AM, Marc Feeley fee...@iro.umontreal.ca wrote:
On 2012-07-11, at 5:59 PM, Felix wrote:
Performance should not trump safety and correctness.
Absolutely right, yet everybody has a different perception of what
performance, safety and correctness means.
On Sun, Jun 3, 2012 at 4:05 PM, John Cowan co...@mercury.ccil.org wrote:
Peter Danenberg scripsit:
Stream-cons, stream-lambda, c. are so fucking verbose!
Only two letters longer than lazy-length, lazy-map, lazy-head, lazy-tail, etc.
Why not a macro with-lazy that rewrites car, cdr, lambda,
On Sun, Jun 3, 2012 at 5:31 PM, Peter Danenberg p...@roxygen.org wrote:
Quoth Alex Shinn on Prickle-Prickle, the 8th of Confusion:
Now, if we have a whole program or library which consistently uses
lazy streams instead of lists, we can import srfi-41 renaming all
the stream-* bindings
On Sun, Jun 3, 2012 at 8:31 PM, Moritz Heidkamp
mor...@twoticketsplease.de wrote:
Alex Shinn alexsh...@gmail.com writes:
First, the srfi-41 vs. lazy-seq comparison in the
blog post was an apples to oranges comparison
of a clumsy letrec vs a compact named let. If we
rewrite the srfi-41
Hi Attila,
On Mon, Feb 13, 2012 at 10:32 PM, Attila Lendvai
attila.lend...@gmail.com wrote:
my problem with chibi is that once i've flashed the firmwares and the
devices are sent out, then an FFI bug is a real headache. chicken
seems to be more mature on this front.
Could you clarify, is
Hi,
As I explained on the Chibi list, this is not technically a bug:
The specification of with-input-from-file (in R5RS and R7RS)
states:
If an escape procedure is used to escape from the
continuation of these procedures, their behavior
is implementation dependent.
Hence Chibi
On Tue, Dec 20, 2011 at 1:56 AM, obscurolocon...@googlemail.com wrote:
I see. The old RnRS problem. Everything is either implementation
dependent or unspecified:
$ grep -io implementation-dependent\|unspecified r7rs-draft-1.txt |wc -l
109
The return value of every side-effecting procedure
On Thu, Dec 8, 2011 at 2:17 AM, Vok Vojwo cev...@gmail.com wrote:
2011/12/7 Peter Bex peter@xs4all.nl:
Actually, the main reason is that SSAX is a horrible mess which has
many completely unrelated procedures all mixed together.
There are several egg that provide different sets of
On Tue, Dec 6, 2011 at 4:05 AM, Christian Kellermann
ck...@pestilenz.org wrote:
Watson,
* Mario Domenech Goulart mario.goul...@gmail.com [111205 18:27]:
So what is the correct way to compile an SRFI-22 compliant script to
an executable?
Maybe you are assuming a `main' procedure would be
On Tue, Nov 1, 2011 at 6:47 PM, Mario Domenech Goulart
mario.goul...@gmail.com wrote:
Hi Curtis,
On Mon, 31 Oct 2011 20:07:57 -0700 Curtis Cooley curtis.coo...@gmail.com
wrote:
I'm trying to get the test egg working, but I'm not getting very far.
I'm using chicken to learn scheme, so I'm
On Tue, Nov 1, 2011 at 7:24 PM, Christian Kellermann
ck...@pestilenz.org wrote:
* Alex Shinn alexsh...@gmail.com [01 11:06]:
#;2 (test 4 (+ 2 2))
Error: (cdr) bad argument type: #f
I'll fix this as soon as I get home, but it's not
very meaningful to use tests without any group.
Ah
On Wed, Sep 28, 2011 at 4:29 AM, Alan Post alanp...@sunflowerriver.org wrote:
I don't have enough data to say that it matters in this case, but in
principle it surely does.
In theory, theory and practice are the same. In practice,
they're different.
The problem here specifically is the lack
On Thu, Sep 29, 2011 at 12:25 PM, Alan Post alanp...@sunflowerriver.org wrote:
How did irregex, which by account is slower, replace the existing
regex code?
I didn't make the call, but as I understand that was motivated
by portability concerns, simplifying the Chicken distribution,
and
On Tue, Sep 27, 2011 at 5:30 PM, Jörg F. Wittenberger
joerg.wittenber...@softeyes.net wrote:
But not including those two definitions should IMHO not do any harm.
I simply can not see where those would be used within irregex.scm.
Sorry, I thought you were suggesting importing
srfi-1 instead of
On Tue, Sep 27, 2011 at 3:39 AM, Jörg F. Wittenberger
joerg.wittenber...@softeyes.net wrote:
I found theses definitions in the irregex code mirroring srfi-1
simplified cases.
(define (filter pred ls)
(let lp ((ls ls) (res '()))
(if (null? ls)
(reverse res)
(lp (cdr ls) (if
On Tue, Sep 20, 2011 at 4:10 PM, Peter Bex peter@xs4all.nl wrote:
And Alex Shinn's hato library also includes some MIME handling code
you might want to use: http://synthcode.com/scheme/hato
(note that the link to the docs are wrong, they should point to
On Thu, May 5, 2011 at 7:18 PM, Peter Bex peter@xs4all.nl wrote:
With Lisp/Scheme code, the only sensible indentation style really is
spaces. With braces-like languages like C it makes sense to use tabs
if used consistently, but even there it's a good source of flamewars.
You get exactly
are available in
the (scheme time) module.
* A complete set of integer division operators is available in
the (scheme division) module.
* Transcript-on and transcript-off have been removed.
Thank you.
--
Alex Shinn, WG1 Chair
___
Chicken-users mailing
On Tue, Mar 29, 2011 at 1:21 AM, John Cowan co...@mercury.ccil.org wrote:
Markus Klotzbuecher scripsit:
distinct? from amb-extras fails with an bad argument count error
when srfi-1 is not loaded. In that case the member procedure from
'scheme' and not srfi-1 is used, which doesn't take a
On Thu, Feb 17, 2011 at 10:51 PM, John Cowan co...@mercury.ccil.org wrote:
Andy Bennett scripsit:
Strange! The first part of the first sed is supposed to remove the '*'
that indicates the currently checked out branch.
The meaning of the regex /^*/ is implementation-dependent: it can be
read
On Sun, Feb 13, 2011 at 6:52 PM, Ivan Raikov ivan.g.rai...@gmail.com wrote:
It appears that the following pattern no longer works with matchable
3.0 (Chicken 4.6.5):
Sorry about that, stupid copypaste error, fixed now.
--
Alex
___
Chicken-users
On Sun, Feb 13, 2011 at 9:52 PM, Felix
fe...@call-with-current-continuation.org wrote:
Talking about matchable: I always wondered whether this should
work:
(match '(...)
(('...) 'yep))
This is:
(match (quote ...)
((quote ...) 'yep))
so the pattern is trying to match a list and
On Sun, Feb 13, 2011 at 6:52 PM, Ivan Raikov ivan.g.rai...@gmail.com wrote:
It appears that the following pattern no longer works with matchable
3.0 (Chicken 4.6.5):
[...]
(match-let ((($ test x y z) (make-test 'a 1 two)))
(print x y z))
Error: (match) no matching
2011/2/6 Joe Python jopyt...@gmail.com:
is there a egg for sending smtp email?
The hato-smtp library makes this very easy:
http://code.google.com/p/hato/
--
Alex
___
Chicken-users mailing list
Chicken-users@nongnu.org
On Sun, Jan 30, 2011 at 12:09 PM, Alan Post alanp...@sunflowerriver.org wrote:
Alex, will you explain what I'd doing wrong here using
tree searching patterns?
(pretty-print (map
(match-lambda
(('foo *** '(bar 1)) #t)
(_ #f))
'((foo (bar 1))
(foo (a (bar 1)))
(foo (a (b
On Sun, Jan 30, 2011 at 1:33 PM, Alan Post alanp...@sunflowerriver.org wrote:
Wonderful! This is working for the test cases I sent, but it
doesn't seem to work when I have a list where the first element
is also a list:
(pretty-print (map
(match-lambda
(('foo (_ *** '(bar 1))) #t)
On Sun, Jan 30, 2011 at 1:40 PM, Alex Shinn alexsh...@gmail.com wrote:
Because it searches for patterns where the head of the tree
at each step along the path matches _, and the leaf matches
'(bar 1). The head is not searched as a potential leaf.
Sorry, whether the head is checked as a leaf
On Fri, Jan 28, 2011 at 12:15 AM, Alan Post alanp...@sunflowerriver.org wrote:
I'm only going to get more demanding out of what I'd like match to
do, I would like the latest version.
I've updated matchable from the latest upstream,
which includes the fix.
--
Alex
On Fri, Jan 28, 2011 at 2:21 PM, Alan Post alanp...@sunflowerriver.org wrote:
I'm trying to use the matchable egg to detect #!key parameters in
functions I've constructed. I have functions that accept multiple
#!key parameters, and I'm not sure how to make the matchable egg
match |(func ...
, Alan Post alanp...@sunflowerriver.org wrote:
On Tue, Jan 25, 2011 at 07:51:12AM +0900, Alex Shinn wrote:
On Sun, Jan 23, 2011 at 3:01 PM, Alan Post alanp...@sunflowerriver.org
wrote:
I've just come across a bug in the matchable egg which I've
documented in ticket #487:
http
On Tue, Jan 25, 2011 at 11:46 PM, Mehmet Kose mehmet.k...@gmail.com wrote:
#;13 (use utf8-case-map)
#;14 (utf8-string-downcase İ tr) ; this code should return i
I
Oops, indeed, and if I had actually applied the patch
I recommended in my earlier mail this would have worked.
Unfortunately I only
On Mon, Jan 24, 2011 at 10:36 PM, Mehmet Kose mehmet.k...@gmail.com wrote:
Problem persists Sir, utf8-case-map.scm line 323.
Considering that's a different function it would have to be a
different problem. Can you give me a test case that fails?
--
Alex
On Sun, Jan 23, 2011 at 3:01 PM, Alan Post alanp...@sunflowerriver.org wrote:
I've just come across a bug in the matchable egg which I've
documented in ticket #487:
http://bugs.call-cc.org/ticket/487
A call is made to |length| even when the input isn't a list if a
production contains
Fixed.
On Tue, Jan 4, 2011 at 8:08 PM, Christian Kellermann
ck...@pestilenz.org wrote:
Dear Alex,
* Alex Shinn alexsh...@gmail.com [110104 03:38]:
I'll double check some of these cases and release a new
version shortly.
While you are at the code, can you change the one 'noop' symbol
1 - 100 of 249 matches
Mail list logo