Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/branches/primop-branch/src/system/Basis/Implementation/bit-flags.sig
ViewVC logotype

View of /sml/branches/primop-branch/src/system/Basis/Implementation/bit-flags.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1470 - (download) (as text) (annotate)
Mon Mar 29 22:45:55 2004 UTC (17 years, 1 month ago)
File size: 558 byte(s)
This commit was manufactured by cvs2svn to create branch
'primop-branch'.
(* bit-flags.sml
 *
 * COPYRIGHT (c) 2003 The Fellowship of SML/NJ
 *
 * Signature for bit flags.
 *
 *)

signature BIT_FLAGS = sig

    eqtype flags

    val toWord   : flags -> SysWord.word
    val fromWord : SysWord.word -> flags

    val all : flags
    val flags : flags list -> flags	(* union *)
    val intersect : flags list -> flags	(* intersection *)
    val clear : flags * flags -> flags	(* set difference flipped *)
    val allSet : flags * flags -> bool  (* subseteq *)
    val anySet : flags * flags -> bool 	(* non-empty intersection *)

end

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0