src/HOL/Imperative_HOL/Imperative_HOL_ex.thy
author wenzelm
Mon, 24 Oct 2016 14:05:22 +0200
changeset 64371 213cf4215b40
parent 63167 0909deb8059b
permissions -rw-r--r--
more robust;

(*  Title:      HOL/Imperative_HOL/Imperative_HOL_ex.thy
    Author:     John Matthews, Galois Connections;
                Alexander Krauss, Lukas Bulwahn & Florian Haftmann, TU Muenchen
*)

section \<open>Monadic imperative HOL with examples\<close>

theory Imperative_HOL_ex
imports Imperative_HOL Overview
  "ex/Imperative_Quicksort" "ex/Imperative_Reverse" "ex/Linked_Lists" "ex/SatChecker"
begin

definition "everything = (Array.new, Array.of_list, Array.make, Array.len, Array.nth,
  Array.upd, Array.map_entry, Array.swap, Array.freeze,
  ref, Ref.lookup, Ref.update, Ref.change)"

export_code everything checking SML SML_imp OCaml? OCaml_imp? Haskell? Scala Scala_imp

end