author | wenzelm |
Thu, 01 Feb 2007 20:59:50 +0100 | |
changeset 22229 | 8e127313ed55 |
parent 22228 | 7c27195a4afc |
child 22230 | bdec4a82f385 |
--- a/src/HOL/ex/Binary.thy Thu Feb 01 20:40:34 2007 +0100 +++ b/src/HOL/ex/Binary.thy Thu Feb 01 20:59:50 2007 +0100 @@ -195,7 +195,7 @@ val syntax_consts = map_aterms (fn Const (c, T) => Const (Syntax.constN ^ c, T) | a => a); -fun binary_tr [t as Const (num, _)] = +fun binary_tr [Const (num, _)] = let val {leading_zeros = z, value = n, ...} = Syntax.read_xnum num; val _ = z = 0 andalso n >= 0 orelse error ("Bad binary number: " ^ num);