2019-03-01 04:49:53 +00:00
|
|
|
(*
|
2020-03-09 06:18:30 +00:00
|
|
|
* Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2019-03-01 04:49:53 +00:00
|
|
|
*)
|
|
|
|
|
|
|
|
\<comment>\<open>
|
2023-01-20 02:42:48 +00:00
|
|
|
ML_Utils is a collection of 'basic' ML utilities (kind of like @{file
|
2019-03-01 04:49:53 +00:00
|
|
|
"~~/src/Pure/library.ML"}, but maintained by Trustworthy Systems). If you
|
|
|
|
find yourself implementing:
|
|
|
|
- A simple data-structure-shuffling task,
|
|
|
|
- Something that shows up in the standard library of other functional
|
|
|
|
languages, or
|
|
|
|
- Something that's "missing" from the general pattern of an Isabelle ML
|
|
|
|
library,
|
|
|
|
consider adding it here.
|
|
|
|
\<close>
|
|
|
|
|
2023-01-20 02:42:48 +00:00
|
|
|
theory ML_Utils
|
2019-03-01 04:49:53 +00:00
|
|
|
imports Main
|
|
|
|
begin
|
2019-03-07 04:29:13 +00:00
|
|
|
ML_file "StringExtras.ML"
|
|
|
|
ML_file "ListExtras.ML"
|
|
|
|
ML_file "MethodExtras.ML"
|
2019-08-21 05:50:50 +00:00
|
|
|
ML_file "OptionExtras.ML"
|
2019-07-17 06:12:01 +00:00
|
|
|
ML_file "ThmExtras.ML"
|
2019-04-15 07:22:19 +00:00
|
|
|
ML_file "Sum.ML"
|
2019-12-13 06:25:58 +00:00
|
|
|
ML_file "TermExtras.ML"
|
2019-03-01 04:49:53 +00:00
|
|
|
end
|