FStar icon indicating copy to clipboard operation
FStar copied to clipboard

Implicit eqtype arguments not being inferred

Open briangmilnes opened this issue 2 years ago • 0 comments

type listset' (e: eqtype) = list e let rec lsmem #e (e': e) (ls: listset' e) : Tot bool

match ls with | [] -> false | hd::tl -> if hd = e' then true else lsmem e' tl

and many others require me to type (#e: eqtype) when unification should easily get this.

P.S. Nik asked for this issue, most likely not a high priority.

briangmilnes avatar Aug 28 '23 16:08 briangmilnes