renamed "emb" to "list_hembeq";
make "list_hembeq" reflexive independent of the base order;
renamed "sub" to "sublisteq";
dropped "transp_on" (state transitivity explicitly instead);
no need to hide "sub" after renaming;
replaced some ASCII symbols by proper Isabelle symbols;
NEWS
(* Title: Pure/General/properties.ML
Author: Makarius
Property lists.
*)
signature PROPERTIES =
sig
type T = (string * string) list
val defined: T -> string -> bool
val get: T -> string -> string option
val put: string * string -> T -> T
val remove: string -> T -> T
end;
structure Properties: PROPERTIES =
struct
type T = (string * string) list;
fun defined (props: T) name = AList.defined (op =) props name;
fun get (props: T) name = AList.lookup (op =) props name;
fun put entry (props: T) = AList.update (op =) entry props;
fun remove name (props: T) = AList.delete (op =) name props;
end;