Overview  Index  Help 
Standard ML Basis Library

BOOL

All Known Implementing Modules:

Bool


signature BOOL =
sig
  datatype bool = true | false
  val not : bool -> bool
  val toString : bool -> string
  val fromString : string -> bool option
  val scan : (char, 'a) StringCvt.reader -> (bool, 'a) StringCvt.reader
end

   
Datatype detail

bool

datatype bool = true | false

 
DataConstructor detail

true

constructor true : bool


false

constructor false : bool

 
Value detail

not

val not : bool -> bool


toString

val toString : bool -> string


fromString

val fromString : string -> bool option


scan

val scan : (char, 'a) StringCvt.reader -> (bool, 'a) StringCvt.reader

 


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