[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pattern matching issues
From: |
Ludovic Courtès |
Subject: |
Re: Pattern matching issues |
Date: |
Wed, 13 Jul 2011 00:21:31 +0200 |
User-agent: |
Gnus/5.110017 (No Gnus v0.17) Emacs/24.0.50 (gnu/linux) |
Hello,
Panicz Maciej Godek <address@hidden> 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