Commit eaed0078 authored by Andrei Paskevich's avatar Andrei Paskevich

Parser: admit anonymous binders

In programs, we do not really care about unnamed typed variables,
and it is convenient to write ((fun s _ -> s) : int -> bool -> int)
in logical terms.
parent 8412f5af
......@@ -400,7 +400,7 @@ param:
binder:
| anon_binder
{ error_param (floc $startpos $endpos) }
{ let l,i = $1 in [l, i, false, None] }
| ty_arg
{ match $1 with
| PTtyapp (Qident id, [])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment