equal
deleted
inserted
replaced
40 case_type: string -> 'a, |
40 case_type: string -> 'a, |
41 case_const: string -> 'a, |
41 case_const: string -> 'a, |
42 case_fixed: string -> 'a, |
42 case_fixed: string -> 'a, |
43 case_default: string -> 'a} -> string -> 'a |
43 case_default: string -> 'a} -> string -> 'a |
44 val is_marked: string -> bool |
44 val is_marked: string -> bool |
|
45 val dummy_type: term |
|
46 val fun_type: term |
45 val pretty_position: Position.T -> Pretty.T |
47 val pretty_position: Position.T -> Pretty.T |
46 val encode_position: Position.T -> string |
48 val encode_position: Position.T -> string |
47 val decode_position: string -> Position.T option |
49 val decode_position: string -> Position.T option |
48 end; |
50 end; |
49 |
51 |
378 |
380 |
379 val is_marked = |
381 val is_marked = |
380 unmark {case_class = K true, case_type = K true, case_const = K true, |
382 unmark {case_class = K true, case_type = K true, case_const = K true, |
381 case_fixed = K true, case_default = K false}; |
383 case_fixed = K true, case_default = K false}; |
382 |
384 |
|
385 val dummy_type = const (mark_type "dummy"); |
|
386 val fun_type = const (mark_type "fun"); |
|
387 |
383 |
388 |
384 (* read numbers *) |
389 (* read numbers *) |
385 |
390 |
386 local |
391 local |
387 |
392 |