src/HOL/Library/Code_Prolog.thy
author Christian Sternagel
Wed Aug 29 12:23:14 2012 +0900 (2012-08-29)
changeset 49083 01081bca31b6
parent 48891 c0eafbd55de3
child 54489 03ff4d1e6784
permissions -rw-r--r--
dropped ord and bot instance for list prefixes (use locale interpretation instead, which allows users to decide what order to use on lists)
bulwahn@38117
     1
(*  Title:      HOL/Library/Code_Prolog.thy
bulwahn@38117
     2
    Author:     Lukas Bulwahn, TUM 2010
bulwahn@38117
     3
*)
bulwahn@38117
     4
bulwahn@38117
     5
header {* Code generation of prolog programs *}
bulwahn@38117
     6
bulwahn@38117
     7
theory Code_Prolog
bulwahn@38117
     8
imports Main
bulwahn@38117
     9
begin
bulwahn@38117
    10
wenzelm@48891
    11
ML_file "~~/src/HOL/Tools/Predicate_Compile/code_prolog.ML"
wenzelm@48891
    12
bulwahn@38731
    13
section {* Setup for Numerals *}
bulwahn@38731
    14
huffman@47108
    15
setup {* Predicate_Compile_Data.ignore_consts
huffman@47108
    16
  [@{const_name numeral}, @{const_name neg_numeral}] *}
huffman@47108
    17
huffman@47108
    18
setup {* Predicate_Compile_Data.keep_functions
huffman@47108
    19
  [@{const_name numeral}, @{const_name neg_numeral}] *}
bulwahn@38731
    20
bulwahn@38117
    21
end