author | haftmann |
Mon, 26 Oct 2009 10:51:42 +0100 | |
changeset 33187 | 616be6d7997e |
parent 33186 | 607b702feace |
child 33188 | 3802b3b7845f |
--- a/src/Tools/Code/code_thingol.ML Mon Oct 26 10:51:42 2009 +0100 +++ b/src/Tools/Code/code_thingol.ML Mon Oct 26 10:51:42 2009 +0100 @@ -399,7 +399,7 @@ fun expand_eta thy k thm = let val (lhs, rhs) = (Logic.dest_equals o Thm.plain_prop_of) thm; - val (head, args) = strip_comb lhs; + val (_, args) = strip_comb lhs; val l = if k = ~1 then (length o fst o strip_abs) rhs else Int.max (0, k - length args);