mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 19:25:28 -05:00
Merge branch 'master' into stable
This commit is contained in:
commit
67ae41159f
3 changed files with 16 additions and 0 deletions
4
Makefile
4
Makefile
|
|
@ -69,6 +69,10 @@ qtest: qtest-clean build
|
||||||
@echo
|
@echo
|
||||||
./qtest_all.native
|
./qtest_all.native
|
||||||
|
|
||||||
|
push-stable: all
|
||||||
|
git checkout stable && git merge master && oasis setup && \
|
||||||
|
git commit -a 'oasis'
|
||||||
|
|
||||||
test-all: test qtest
|
test-all: test qtest
|
||||||
|
|
||||||
tags:
|
tags:
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
type t = string
|
type t = string
|
||||||
|
|
||||||
|
let equal a b = a=b
|
||||||
|
|
||||||
|
let compare = String.compare
|
||||||
|
|
||||||
|
let hash s = Hashtbl.hash s
|
||||||
|
|
||||||
type 'a gen = unit -> 'a option
|
type 'a gen = unit -> 'a option
|
||||||
type 'a sequence = ('a -> unit) -> unit
|
type 'a sequence = ('a -> unit) -> unit
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,12 @@ Consider using KMP instead. *)
|
||||||
|
|
||||||
type t = string
|
type t = string
|
||||||
|
|
||||||
|
val equal : t -> t -> bool
|
||||||
|
|
||||||
|
val compare : t -> t -> int
|
||||||
|
|
||||||
|
val hash : t -> int
|
||||||
|
|
||||||
type 'a gen = unit -> 'a option
|
type 'a gen = unit -> 'a option
|
||||||
type 'a sequence = ('a -> unit) -> unit
|
type 'a sequence = ('a -> unit) -> unit
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue