Browse thread
Request for complete pattern matching
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Michal Moskal <michal.moskal@g...> |
| Subject: | Re: [Caml-list] Request for complete pattern matching |
On 11/22/05, Christophe Raffalli <christophe.raffalli@univ-savoie.fr> wrote: > It may be not clear what I mean by matching a function (looks impossible > ;-). I mean something like > > pattern <= expr expr expr is a pattern > > and a function f is matched by > > p <= e1 ... eN iff f e1 ... eN is matched by p > > (I do not care about the final syntax ...) Something like http://homepages.inf.ed.ac.uk/wadler/papers/view/view.ps or http://nemerle.org/Extensible_matching ? -- Michal Moskal, http://nemerle.org/~malekith/