Skip to content

Commit

Permalink
Merge pull request ocaml#289 from Armael/strict-sequence
Browse files Browse the repository at this point in the history
Build with -strict-sequence
  • Loading branch information
gasche authored Sep 22, 2018
2 parents 26c3d35 + 3c83ee5 commit c35a08a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .merlin
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
S src
S bootstrap
B .
FLG -strict-sequence
FLG -safe-string
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ OCAMLLEX ?= ocamllex
endif

CP ?= cp
COMPFLAGS ?= -w L -w R -w Z -I src -I +unix -safe-string -bin-annot
COMPFLAGS ?= -w L -w R -w Z -I src -I +unix -safe-string -bin-annot -strict-sequence
LINKFLAGS ?= -I +unix -I src

PACK_CMO= $(addprefix src/,\
Expand Down
2 changes: 1 addition & 1 deletion src/signatures.mli
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ end

module type LIST = sig
(* Added functions *)
val print : (Format.formatter -> 'a -> 'b) -> Format.formatter -> 'a list -> unit
val print : (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a list -> unit
val filter_opt : ('a -> 'b option) -> 'a list -> 'b list
val union : 'a list -> 'a list -> 'a list
val ordered_unique : 'a list -> 'a list
Expand Down

0 comments on commit c35a08a

Please sign in to comment.