package speed
-
speed
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module AssertionResult : sig ... end
type print = Format.formatter -> unit
exception FormattedAssertionError of Format.formatter -> unit
val match_success : 'a -> ('a, 'b) result
val equality_failure :
'a ->
'a ->
(Format.formatter -> 'a -> unit) ->
('b, [> `AssertionError of unit | `AssertionErrorWithFormat of print ])
result
val contain :
Base.String.t ->
Base.String.t ->
(Base.String.t,
[> `AssertionError of unit | `AssertionErrorWithFormat of print ])
result
val expect :
?name:string ->
'a ->
('a ->
('b, [> `AssertionErrorWithFormat of Format.formatter -> unit ]) result) ->
unit
val (>=>) :
('a -> ('b, 'c) Base.Result.t) ->
('b -> ('d, 'c) Base.Result.t) ->
'a ->
('d, 'c) Base.Result.t
val should :
?name:string ->
('a ->
('b, [> `AssertionErrorWithFormat of Format.formatter -> unit ]) result) ->
'a ->
unit