unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: guile-user@gnu.org
Subject: Re: Pattern matching issues
Date: Wed, 13 Jul 2011 00:21:31 +0200	[thread overview]
Message-ID: <8739ibqgwk.fsf@gnu.org> (raw)
In-Reply-To: CAMFYt2YHML0d_rn1HGqRxZc==TjmS1v33-WjDW9f+6NeARCNeg@mail.gmail.com

Hello,

Panicz Maciej Godek <godek.maciek@gmail.com> skribis:

> (pat-match '((?* ?p) need (?* ?x)) '(Mr Hulot and I need a vacation))
>
>  should return ((?P MR HULLOT AND I) (?X A VACATION))
>
> I've been wondering if there is a way to represent this sort of
> pattern for the pattern matcher provided by Wright (and Guile).

I don’t think so, unfortunately.

That said, I recommend asking Alex Shinn since he’s the author of the
implementation that comes with Guile 2.0 (now maintained as part of
Chibi Scheme [0].)

Thanks,
Ludo’.

[0] https://code.google.com/p/chibi-scheme/source/browse/lib/chibi/match/match.scm




  reply	other threads:[~2011-07-12 22:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-12 21:05 Pattern matching issues Panicz Maciej Godek
2011-07-12 22:21 ` Ludovic Courtès [this message]
2011-07-13  5:40 ` Marco Maggi
2011-07-13 10:42   ` Panicz Maciej Godek
2011-07-23 18:44 ` Linas Vepstas
2011-07-25 10:44   ` Andy Wingo

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=8739ibqgwk.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guile-user@gnu.org \
    /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).