Overview  Index  Help 
Standard ML Basis Library

INTERNALS.BTrace

Enclosing Modules:

INTERNALS


structure BTrace :
sig
  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 mode : bool option -> bool
  val report : unit -> unit -> string list
  val bthandle : {work : unit -> 'a, hdl : exn * string list -> 'a} -> 'a
  val save : unit -> unit -> unit
  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


mode

val mode : bool option -> bool


report

val report : unit -> unit -> string list


bthandle

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


save

val save : unit -> unit -> unit


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