src/HOL/Library/Code_Prolog.thy
author haftmann
Mon, 23 Jul 2012 09:28:03 +0200
changeset 48431 6efff142bb54
parent 47108 2a1953f0d20d
child 48891 c0eafbd55de3
permissions -rw-r--r--
restrict unqualified imports from Haskell Prelude to a small set of fundamental operations

(*  Title:      HOL/Library/Code_Prolog.thy
    Author:     Lukas Bulwahn, TUM 2010
*)

header {* Code generation of prolog programs *}

theory Code_Prolog
imports Main
uses "~~/src/HOL/Tools/Predicate_Compile/code_prolog.ML"
begin

section {* Setup for Numerals *}

setup {* Predicate_Compile_Data.ignore_consts
  [@{const_name numeral}, @{const_name neg_numeral}] *}

setup {* Predicate_Compile_Data.keep_functions
  [@{const_name numeral}, @{const_name neg_numeral}] *}

end