src/HOL/ex/Codegenerator_Pretty.thy
author wenzelm
Wed, 17 Sep 2008 21:27:14 +0200
changeset 28263 69eaa97e7e96
parent 28244 f433e544a855
child 28335 25326092cf9a
permissions -rw-r--r--
moved global ML bindings to global place;

(*  Title:      HOL/ex/Codegenerator_Pretty.thy
    ID:         $Id$
    Author:     Florian Haftmann, TU Muenchen
*)

header {* Simple examples for pretty numerals and such *}

theory Codegenerator_Pretty
imports ExecutableContent Code_Char Efficient_Nat
begin

declare isnorm.simps [code func del]

ML {* (*FIXME get rid of this*)
nonfix union;
nonfix inter;
nonfix upto;
*}

export_code * in SML module_name CodegenTest
  in OCaml module_name CodegenTest file -
  in Haskell file -

ML {*
infix union;
infix inter;
infix 4 upto;
*}

end