author | lcp |
Tue, 25 Jul 1995 17:03:59 +0200 | |
changeset 1195 | 686e3eb613b9 |
parent 1194 | 563ecd14c1d8 |
child 1196 | d43c1f7a53fe |
src/Pure/thm.ML | file | annotate | diff | comparison | revisions |
--- a/src/Pure/thm.ML Tue Jul 25 17:03:16 1995 +0200 +++ b/src/Pure/thm.ML Tue Jul 25 17:03:59 1995 +0200 @@ -861,7 +861,9 @@ (*Scan a pair of terms; while they are similar, accumulate corresponding bound vars in "al"*) -fun match_bvs(Abs(x,_,s),Abs(y,_,t), al) = match_bvs(s,t,(x,y)::al) +fun match_bvs(Abs(x,_,s),Abs(y,_,t), al) = + match_bvs(s, t, if x="" orelse y="" then al + else (x,y)::al) | match_bvs(f$s, g$t, al) = match_bvs(f,g,match_bvs(s,t,al)) | match_bvs(_,_,al) = al;