src/HOL/ex/Codegenerator_Pretty.thy
author blanchet
Wed, 04 Mar 2009 18:18:05 +0100
changeset 30254 7b8afdfa2f83
parent 29933 125d513d9e39
child 31378 d1cbf6393964
permissions -rw-r--r--
Second try at adding "nitpick_const_def" attribute. I don't know what happened the first time (change d8944fd4365e). It just vanished somehow.

(*  Title:      HOL/ex/Codegenerator_Pretty.thy
    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 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