I'm new to OCaml and I have no clue why this is giving me a syntax error:
type ('nonterminal, 'terminal) pe =
| Empty
| T of t
| N of n
| Seq of list
| Choose of list
| Star of e
| Not of e;;
type ('nonterminal, 'terminal) pe_tree =
| Is_empty
| Leaf of t
| Node of (n,tree)
| Sequence of list
| Repeat of list
| Is_not of e;;
All it's saying is that there's a syntax error on line 14 characters 0-1 (which is where | Sequence of list is) and I can't figure out why!