src/Pure/General/file.ML
changeset 70998 7926d2fc3c4c
parent 70292 bc9d02f916c4
child 72278 199dc903131b
equal deleted inserted replaced
70997:325247f32da9 70998:7926d2fc3c4c
   163 
   163 
   164 fun write path txt = write_list path [txt];
   164 fun write path txt = write_list path [txt];
   165 fun append path txt = append_list path [txt];
   165 fun append path txt = append_list path [txt];
   166 fun generate path txt = if try read path = SOME txt then () else write path txt;
   166 fun generate path txt = if try read path = SOME txt then () else write path txt;
   167 
   167 
   168 fun write_buffer path buf = open_output (Buffer.output buf) path;
   168 fun write_buffer path buf = open_output (Buffer.output buf o output) path;
   169 
   169 
   170 
   170 
   171 (* eq *)
   171 (* eq *)
   172 
   172 
   173 fun eq paths =
   173 fun eq paths =