src/Pure/ML-Systems/ml_pretty.ML
author haftmann
Thu Oct 22 13:48:06 2009 +0200 (2009-10-22)
changeset 33063 4d462963a7db
parent 30623 9ed1122d6cd2
child 38635 f76ad0771f67
permissions -rw-r--r--
map_range (and map_index) combinator
wenzelm@30622
     1
(*  Title:      Pure/ML-Systems/ml_pretty.ML
wenzelm@30622
     2
    Author:     Makarius
wenzelm@30622
     3
wenzelm@30623
     4
Raw datatype for ML pretty printing.
wenzelm@30622
     5
*)
wenzelm@30622
     6
wenzelm@30622
     7
structure ML_Pretty =
wenzelm@30622
     8
struct
wenzelm@30622
     9
wenzelm@30622
    10
datatype pretty =
wenzelm@30623
    11
  Block of (string * string) * pretty list * int |
wenzelm@30623
    12
  String of string * int |
wenzelm@30623
    13
  Break of bool * int;
wenzelm@30622
    14
wenzelm@30622
    15
end;
wenzelm@30622
    16