From: Eric E Moore <e.e.moore@sheffield.ac.uk>
Subject: bug in syncase?
Date: Fri, 13 Dec 2002 22:43:01 +0000 [thread overview]
Message-ID: <878yytilqi.fsf@dyn006239.shef.ac.uk> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 660 bytes --]
It's either a bug in syncase, or a bug in my code. But I didn't
change this code, and updated to today's CVS (from a few months ago)
and this code:
(use-modules (ice-9 regex)
(ice-9 syncase))
(define-syntax re-case
(syntax-rules ()
((re-case str ((reg proc) ...))
(let ((foo (list (cons (if (regexp? reg) reg (make-regexp reg))
proc) ...)))
(for-each (lambda (x)
(let ((r (regexp-exec (car x) str)))
(if r ((cdr x) r) r)))
foo)
foo))))
now basically tries to eat all the ram on my system....
--
Eric E. Moore
[-- Attachment #1.2: Type: application/pgp-signature, Size: 184 bytes --]
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
reply other threads:[~2002-12-13 22:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878yytilqi.fsf@dyn006239.shef.ac.uk \
--to=e.e.moore@sheffield.ac.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).