Andrew Whitworth a écrit :
> My initial reaction is that the second example you list shouldn't be
> an optable at all but a rule:
>
> rule tuple {
>    <type> [ '*' <type> ] *
> }
>   

Sure... My example was over-simplified. There are of course more than
one operator for each optable (for type expression, there is also a "->"
for functional types).

If you are curious, you can have a look at :
http://caml.inria.fr/pub/docs/manual-ocaml/manual012.html
which describes the type expressions in OCaml.

-- 
Florian,
http://openweb.eu.org/
http://www.linux-france.org/


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to