src/HOL/Imperative_HOL/Imperative_HOL_ex.thy
author wenzelm
Sat, 07 Apr 2012 16:41:59 +0200
changeset 47389 e8552cba702d
parent 39307 8d42d668b5b0
child 50630 1ea90e8046dc
permissions -rw-r--r--
explicit checks stable_finished_theory/stable_command allow parallel asynchronous command transactions; tuned;

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

header {* Monadic imperative HOL with examples *}

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