> I cannot judge from your example but maybe you simply want the  
> following?
>
> parse <first pattern>  = ...
> parse <second pattern> = ...
That would try the second rule even if the first matches.
   parse s = case s of
               <first pattern>  -> ...
               <second pattern> -> ...
falls through.
_______________________________________________
curry mailing list
curry_at_lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/curry
Received on Do Apr 16 2009 - 09:11:13 CEST