src/Pure/ML-Systems/ml_pretty.ML
author wenzelm
Thu, 24 Jun 2010 14:31:01 +0200
changeset 37528 42804fb5dd92
parent 30623 9ed1122d6cd2
child 38635 f76ad0771f67
permissions -rw-r--r--
slightly more standard data merge: Symtax.merge (K true) avoids equality on abstract type Pretty.T and gracefully accepts overriding, Symtab.join prefers first entry as usual;

(*  Title:      Pure/ML-Systems/ml_pretty.ML
    Author:     Makarius

Raw datatype for ML pretty printing.
*)

structure ML_Pretty =
struct

datatype pretty =
  Block of (string * string) * pretty list * int |
  String of string * int |
  Break of bool * int;

end;