source: project/release/4/9ML-toolkit/trunk/sml-lib/BitSet.sig @ 29995

Last change on this file since 29995 was 29995, checked in by Ivan Raikov, 8 years ago

9ML-toolkit: added SML support libraries

File size: 477 bytes
Line 
1(*
2 * Dense set in bitvector format.
3 *
4 * -- Allen
5 *)
6
7signature BITSET =
8sig
9
10   type bitset
11
12   val create        : int -> bitset
13   val size          : bitset -> int
14   val contains      : bitset * int -> bool
15   val set           : bitset * int -> unit
16   val reset         : bitset * int -> unit
17   val clear         : bitset -> unit
18   val markAndTest   : bitset * int -> bool
19   val unmarkAndTest : bitset * int -> bool
20   val toString      : bitset -> string
21
22end
23
Note: See TracBrowser for help on using the repository browser.