author | Walther Neuper <walther.neuper@jku.at> |
Sun, 17 Jan 2021 15:25:27 +0100 | |
changeset 60146 | aaef037414a1 |
child 60536 | 5038589d3033 |
permissions | -rw-r--r-- |
walther@60146 | 1 |
(* Title: "BridgeJEdit/preliminary.sml" |
walther@60146 | 2 |
Author: Walther Neuper |
walther@60146 | 3 |
(c) due to copyright terms |
walther@60146 | 4 |
*) |
walther@60146 | 5 |
|
walther@60146 | 6 |
"-----------------------------------------------------------------------------------------------"; |
walther@60146 | 7 |
"table of contents -----------------------------------------------------------------------------"; |
walther@60146 | 8 |
"-----------------------------------------------------------------------------------------------"; |
walther@60146 | 9 |
"----------- investigate Pure/context.ML THEORY_DATA -------------------------------------------"; |
walther@60146 | 10 |
"-----------------------------------------------------------------------------------------------"; |
walther@60146 | 11 |
"-----------------------------------------------------------------------------------------------"; |
walther@60146 | 12 |
"-----------------------------------------------------------------------------------------------"; |
walther@60146 | 13 |
|
walther@60146 | 14 |
"----------- investigate Pure/context.ML THEORY_DATA -------------------------------------------"; |
walther@60146 | 15 |
"----------- investigate Pure/context.ML THEORY_DATA -------------------------------------------"; |
walther@60146 | 16 |
"----------- investigate Pure/context.ML THEORY_DATA -------------------------------------------"; |
walther@60146 | 17 |
(* Pure/context.ML |
walther@60146 | 18 |
signature THEORY_DATA = |
walther@60146 | 19 |
sig |
walther@60146 | 20 |
type T |
walther@60146 | 21 |
val get: theory -> T |
walther@60146 | 22 |
val put: T -> theory -> theory |
walther@60146 | 23 |
val map: (T -> T) -> theory -> theory |
walther@60146 | 24 |
end;*) |
walther@60146 | 25 |
(* |
walther@60146 | 26 |
Refs_Data.empty; (*in Refs_Data defined workers are hidden*) |
walther@60146 | 27 |
Refs_Data.extend; (*in Refs_Data defined workers are hidden*) |
walther@60146 | 28 |
Refs_Data.merge; (*in Refs_Data defined workers are hidden*) |
walther@60146 | 29 |
ML error: |
walther@60146 | 30 |
Value or constructor (empty) has not been declared in structure Refs *) |
walther@60146 | 31 |
|
walther@60146 | 32 |
Refs_Data.get: theory -> Refs_Data.T; (*from signature THEORY_DATA*) |
walther@60146 | 33 |
Refs_Data.put: Refs_Data.T -> theory -> theory; (*from signature THEORY_DATA*) |
walther@60146 | 34 |
Refs_Data.map: (Refs_Data.T -> Refs_Data.T) -> theory -> theory; (*from signature THEORY_DATA*) |