src/Pure/ML-Systems/polyml.ML
changeset 15699 7d91dd712ff8
parent 15028 f6a22afe0134
child 15702 2677db44c795
equal deleted inserted replaced
15698:95deeda57341 15699:7d91dd712ff8
   163 ML{*profiling 0*}
   163 ML{*profiling 0*}
   164 *)
   164 *)
   165 
   165 
   166 val profiling: int->unit =
   166 val profiling: int->unit =
   167      RunCall.run_call1 RuntimeCalls.POLY_SYS_profiler;
   167      RunCall.run_call1 RuntimeCalls.POLY_SYS_profiler;
       
   168 
       
   169 structure OriginalPosix = Posix;
       
   170 structure OriginalIO = Posix.IO;
       
   171 
       
   172 structure Posix =
       
   173 struct
       
   174   open OriginalPosix
       
   175   structure IO =
       
   176   struct
       
   177   open OriginalIO
       
   178   val mkTextReader = mkReader 
       
   179   val mkTextWriter = mkWriter 
       
   180   end;
       
   181 end;