package ppx_pbt
Install
Dune Dependency
Authors
Maintainers
Sources
md5=627584e9f25d016e75ece04bde5bcfa0
sha512=18e3ab5fd0ac5b6b24d24f85dba38acb4f43254fc23da24a5ec58281e91bb6b92332c8601039dcbbb66dfcc36a20e06e84aa61c856cfd9d6f7cad21ab0177681
doc/ppx_pbt.pbt/Pbt/Properties/index.html
Module Pbt.Properties
associative f x y z
test associativity law
neutral_left f elt x
test if elt is neutral on left
neutral_right f elt x
test if elt is neutral on right
neutrals f elt x
test if elt is neutral on both side
capped_left f cap x
test if the function stays capped when the left argument is capped.
capped_right f cap x
test if the function stays capped when the right argument is capped.
capped_right f cap x
test if the function stays capped when the right or left argument is capped.
eq_res f oracle x y
test if the result between f and the oracle are equals
absorb_left f absorb x
test if the function returns x when the left argument is absorb.
absorb_right f absorb x
test if the function returns x when the right argument is absorb.
absorb_right f absorb x
test if the function returns x when the right or left argument is absorb.
floored_left f floor x y
test if the function stays floored when the left argument is floored.
floored_right f floor x y
test if the function stays floored when the right argument is floored.