src/HOL/ex/Codegenerator_Pretty.thy
author haftmann
Tue, 16 Sep 2008 16:13:09 +0200
changeset 28244 f433e544a855
parent 28228 7ebe8dc06cbb
child 28335 25326092cf9a
permissions -rw-r--r--
a sophisticated char/nibble conversion combinator

(*  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