Overview  Index  Help 
Standard ML Basis Library

CleanUp


structure CleanUp : CLEAN_UP =
struct
  datatype when = AtExportML | AtExportFn | AtExit | AtInit | AtInitFn
  val atAll : when list
  val hooks
  val filter
  val clean : when -> unit
  val removeHook
  val addCleaner
      : string * when list * (when -> unit) ->
          (when list * (when -> unit)) option
  val removeCleaner : string -> (when list * (when -> unit)) option
end

   
Datatype detail

when

datatype when = AtExportML | AtExportFn | AtExit | AtInit | AtInitFn

 
DataConstructor detail

AtExportML

constructor AtExportML : when


AtExportFn

constructor AtExportFn : when


AtExit

constructor AtExit : when


AtInit

constructor AtInit : when


AtInitFn

constructor AtInitFn : when

 
Value detail

atAll

val atAll : when list


hooks

val hooks


filter

val filter


clean

val clean : when -> unit


removeHook

val removeHook


addCleaner

val addCleaner
    : string * when list * (when -> unit) -> (when list * (when -> unit)) option


removeCleaner

val removeCleaner : string -> (when list * (when -> unit)) option

 


Overview  Index  Help 
Standard ML Basis Library

This document may be distributed freely over the internet as long as the copyright notice and license terms below are prominently displayed within every machine-readable copy.

Copyright © 2003 AT&T and Lucent Technologies. All rights reserved.

Permission is granted for internet users to make one paper copy for their own personal use. Further hardcopy reproduction is strictly prohibited. Permission to distribute the HTML document electronically on any medium other than the internet must be requested from the copyright holders by contacting the editors. Printed versions of the SML Basis Manual are available from Cambridge University Press. To order, please visit www.cup.org (North America) or www.cup.cam.ac.uk (outside North America).