comparison src/mono_print.sml @ 271:42dfb0d61cf0

'database' declaration threaded through compiler
author Adam Chlipala <adamc@hcoop.net>
date Tue, 02 Sep 2008 10:51:41 -0400
parents 7e9bd70ad3ce
children 09c66a30ef32
comparison
equal deleted inserted replaced
270:b9b02613c0c2 271:42dfb0d61cf0
310 string s, 310 string s,
311 p_list_sep (string "") (fn t => box [space, 311 p_list_sep (string "") (fn t => box [space,
312 string "(", 312 string "(",
313 p_typ env t, 313 p_typ env t,
314 string ")"]) ts] 314 string ")"]) ts]
315
316 | DDatabase s => box [string "database",
317 space,
318 string s]
315 319
316 fun p_file env file = 320 fun p_file env file =
317 let 321 let
318 val (pds, _) = ListUtil.foldlMap (fn (d, env) => 322 val (pds, _) = ListUtil.foldlMap (fn (d, env) =>
319 (p_decl env d, 323 (p_decl env d,