dropped now superfluous ad-hoc adaption
authorhaftmann
Fri, 28 Mar 2008 22:01:03 +0100
changeset 26468 bb6a015219cf
parent 26467 fdd4d78e1e05
child 26469 6deb216d726f
dropped now superfluous ad-hoc adaption
src/HOL/ex/Codegenerator_Pretty.thy
--- a/src/HOL/ex/Codegenerator_Pretty.thy	Fri Mar 28 22:01:02 2008 +0100
+++ b/src/HOL/ex/Codegenerator_Pretty.thy	Fri Mar 28 22:01:03 2008 +0100
@@ -26,25 +26,6 @@
 
 declare isnorm.simps [code func del]
 
-setup {*
-let
-  val charr = @{const_name Char}
-  val nibbles = [@{const_name Nibble0}, @{const_name Nibble1},
-    @{const_name Nibble2}, @{const_name Nibble3},
-    @{const_name Nibble4}, @{const_name Nibble5},
-    @{const_name Nibble6}, @{const_name Nibble7},
-    @{const_name Nibble8}, @{const_name Nibble9},
-    @{const_name NibbleA}, @{const_name NibbleB},
-    @{const_name NibbleC}, @{const_name NibbleD},
-    @{const_name NibbleE}, @{const_name NibbleF}];
-in
-  fold (fn target => CodeTarget.add_pretty_char target charr nibbles)
-    ["SML", "OCaml", "Haskell"]
-  #> CodeTarget.add_pretty_list_string "Haskell"
-    @{const_name Nil} @{const_name Cons} charr nibbles
-end
-*}
-
 ML {* (*FIXME get rid of this*)
 nonfix union;
 nonfix inter;