author | wenzelm |
Wed, 06 Jul 2005 20:00:33 +0200 | |
changeset 16724 | 1c8317722b4c |
parent 16723 | 9a9c034f1d57 |
child 16725 | 597830f91930 |
src/Pure/term.ML | file | annotate | diff | comparison | revisions |
--- a/src/Pure/term.ML Wed Jul 06 20:00:31 2005 +0200 +++ b/src/Pure/term.ML Wed Jul 06 20:00:33 2005 +0200 @@ -766,7 +766,7 @@ (** Equality, membership and insertion of indexnames (string*ints) **) (*optimized equality test for indexnames. Yields a huge gain under Poly/ML*) -fun eq_ix ((a, i):indexname, (a',i'):indexname) = (a=a') andalso i=i'; +fun eq_ix ((x, i): indexname, (y, j)) = i = j andalso x = y; (*membership in a list, optimized version for indexnames*) fun mem_ix (_, []) = false