Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] tree automata
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: skaller <skaller@u...>
Subject: [Caml-list] tree automata
I just ran across the need to pattern match a list against:

  P1 :: P2 * :: P3

where P2* means "any number of occurences of P2".
It happens in this case I want to forget P2*.
I can do this with

P1 :: tail when f(tail)

for suitable f, however I'm wondering if XDuce
would handle this.. and if the tree automata technology 
would fit into Ocaml.

John Skaller,
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: