# HG changeset patch # User hoelzl # Date 1412845240 -7200 # Node ID 3094b0edd6b52a6c9b85e91147bdb6e475dc1531 # Parent 9b33fe5b60f3084105bb4ca63c069e12a60b9364 fix document generation in Code_Test diff -r 9b33fe5b60f3 -r 3094b0edd6b5 src/HOL/Library/Code_Test.thy --- a/src/HOL/Library/Code_Test.thy Wed Oct 08 18:10:17 2014 +0200 +++ b/src/HOL/Library/Code_Test.thy Thu Oct 09 11:00:40 2014 +0200 @@ -131,10 +131,10 @@ "xml_of_term (Code_Evaluation.Const x ty) = [xml.tagged (STR ''0'') (Some x) (xml_of_typ ty)]" "xml_of_term (Code_Evaluation.App t1 t2) = [xml.tagged (STR ''5'') None [xml.node (xml_of_term t1), xml.node (xml_of_term t2)]]" "xml_of_term (Code_Evaluation.Abs x ty t) = [xml.tagged (STR ''4'') (Some x) [xml.node (xml_of_typ ty), xml.node (xml_of_term t)]]" - -- {* - FIXME: @{const Code_Evaluation.Free} is used only in Quickcheck_Narrowing to represent + (* + FIXME: @{const Code_Evaluation.Free} is used only in @{theory Quickcheck_Narrowing} to represent uninstantiated parameters in constructors. Here, we always translate them to @{ML Free} variables. - *} + *) "xml_of_term (Code_Evaluation.Free x ty) = [xml.tagged (STR ''1'') (Some x) (xml_of_typ ty)]" by(simp_all add: xml_of_term_def xml_tree_anything)