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
test:: (a->b->b) ->b-> [a] ->b
test _ b []= b
test f_b b (a : l_a4) = f_b a $ test f_b b _
Wingman wants to fill this hole with a : l_a4, since it uses more variables from the hypothesis. But it doesn't pay attention to the expression context, where it could learn that a has already been used.
This is not hard to fix --- subtract used-in-context variables from syn_used_vals before scoring.