Overview  Index  Help 
Standard ML Basis Library

Internals.BTrace

Enclosing Modules:

Internals


structure BTrace =
struct
  val install
      : {
          corefns :
          {
            save : unit -> unit -> unit,
            push : int * int -> unit -> unit,
            nopush : int * int -> unit,
            add : int * int -> unit,
            reserve : int -> int,
            register : int * int * string -> unit,
            report : unit -> unit -> string list
          },
          reset : unit -> unit,
          mode : bool option -> bool
        } ->
          unit
  val reset
  val mode : bool option -> bool
  val report : unit -> unit -> string list
  val save : unit -> unit -> unit
  val bthandle : {work : unit -> 'a, hdl : exn * string list -> 'a} -> 'a
  val trigger : unit -> 'a
end

       
Value detail

install

val install
    : {
        corefns :
        {
          save : unit -> unit -> unit,
          push : int * int -> unit -> unit,
          nopush : int * int -> unit,
          add : int * int -> unit,
          reserve : int -> int,
          register : int * int * string -> unit,
          report : unit -> unit -> string list
        },
        reset : unit -> unit,
        mode : bool option -> bool
      } ->
        unit


reset

val reset


mode

val mode : bool option -> bool


report

val report : unit -> unit -> string list


save

val save : unit -> unit -> unit


bthandle

val bthandle : {work : unit -> 'a, hdl : exn * string list -> 'a} -> 'a


trigger

val trigger : unit -> 'a

 


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).