equal
deleted
inserted
replaced
255 (Pretty.command "datatype" :: Pretty.brk 1 :: |
255 (Pretty.command "datatype" :: Pretty.brk 1 :: |
256 Syntax.pretty_typ ctxt ty :: |
256 Syntax.pretty_typ ctxt ty :: |
257 Pretty.str " =" :: Pretty.brk 1 :: |
257 Pretty.str " =" :: Pretty.brk 1 :: |
258 flat (separate [Pretty.brk 1, Pretty.str "| "] |
258 flat (separate [Pretty.brk 1, Pretty.str "| "] |
259 (map (single o pretty_constr) cos))); |
259 (map (single o pretty_constr) cos))); |
260 in Thy_Output.output (Thy_Output.maybe_pretty_source (K pretty_datatype) src [()]) end); |
260 in |
|
261 Thy_Output.output ctxt (Thy_Output.maybe_pretty_source (K (K pretty_datatype)) ctxt src [()]) |
|
262 end); |
261 |
263 |
262 |
264 |
263 |
265 |
264 (** abstract theory extensions relative to a datatype characterisation **) |
266 (** abstract theory extensions relative to a datatype characterisation **) |
265 |
267 |