[nem-en] Pattern matching outside of 'match' block?

Michal Moskal michal.moskal at gmail.com
Wed Feb 21 19:38:24 CET 2007


On 2/21/07, Vladimir Reshetnikov <v.reshetnikov at gmail.com> wrote:
> So, two-element tuple is handled by this:
>
>        | <[ $expr1 * $expr2 ]> =>
>          CanBeTypeName (expr1) && CanBeTypeName (expr2)
>
> But I have no idea, how can I handle all tuples by a single branch :(

<[ @* (.. $exprs) ]> => exprs.ForAll (CanBeTypeName)


-- 
   Michał


More information about the devel-en mailing list