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
{{ message }}
This repository was archived by the owner on Jul 26, 2018. It is now read-only.
considering the problem I had at #28 with the extensive use of variants in a large grammar, the opervars was proposed as partial solution:
-- hack to get the same behaviour as from variants. parses both, linearizes the first. oper vars : Str -> Str -> Str =\x,y ->pre { ""=> x ; _ => y } ;
it then became a definition in a module of the grammar, but I wonder if it shouldn't be in the Prelude, so that no other grammars need to repeat its definition.
considering the problem I had at #28 with the extensive use of variants in a large grammar, the
opervarswas proposed as partial solution:it then became a definition in a module of the grammar, but I wonder if it shouldn't be in the
Prelude, so that no other grammars need to repeat its definition.