You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A list of expressions is defined by e % sep which is equivalent to e (sep e)* in term of parsing but not equivalent in term of types. Indeed the first expression will have the type Vec<E> while the second (E, Vec<E>) or (E, Vec<(E, Sep)>) if the separator has a type different from () or (^).
e % sep has the type Vec<E> and sepmust have the type () (or (^)) or a typing error should be exposed.
The text was updated successfully, but these errors were encountered:
A list of expressions is defined by
e % sep
which is equivalent toe (sep e)*
in term of parsing but not equivalent in term of types. Indeed the first expression will have the typeVec<E>
while the second(E, Vec<E>)
or(E, Vec<(E, Sep)>)
if the separator has a type different from()
or(^)
.e % sep
has the typeVec<E>
andsep
must have the type()
(or(^)
) or a typing error should be exposed.The text was updated successfully, but these errors were encountered: