Module Gil_syntax.BinOp

GIL Binary Operators

type t =
  1. | Equal
    (*

    Equality

    *)
  2. | ILessThan
    (*

    Less for integers

    *)
  3. | ILessThanEqual
    (*

    Less or equal for integers

    *)
  4. | IPlus
    (*

    Integer addition

    *)
  5. | IMinus
    (*

    Integer subtraction

    *)
  6. | ITimes
    (*

    Integer multiplication

    *)
  7. | IDiv
    (*

    Integer division

    *)
  8. | IMod
    (*

    Integer modulus

    *)
  9. | FLessThan
    (*

    Less for floats

    *)
  10. | FLessThanEqual
    (*

    Less or equal for floats

    *)
  11. | FPlus
    (*

    Float addition

    *)
  12. | FMinus
    (*

    Float subtraction

    *)
  13. | FTimes
    (*

    Float multiplication

    *)
  14. | FDiv
    (*

    Float division

    *)
  15. | FMod
    (*

    Float modulus

    *)
  16. | SLessThan
    (*

    Less or equal for strings

    *)
  17. | BAnd
    (*

    Boolean conjunction

    *)
  18. | BOr
    (*

    Boolean disjunction

    *)
  19. | BImpl
    (*

    Boolean implication

    *)
  20. | BitwiseAnd
    (*

    Bitwise conjunction

    *)
  21. | BitwiseOr
    (*

    Bitwise disjunction

    *)
  22. | BitwiseXor
    (*

    Bitwise exclusive disjunction

    *)
  23. | LeftShift
    (*

    Left bitshift

    *)
  24. | SignedRightShift
    (*

    Signed right bitshift

    *)
  25. | UnsignedRightShift
    (*

    Unsigned right bitshift

    *)
  26. | BitwiseAndL
    (*

    Bitwise conjunction 64bit

    *)
  27. | BitwiseOrL
    (*

    Bitwise disjunction 64bit

    *)
  28. | BitwiseXorL
    (*

    Bitwise exclusive disjunction 64bit

    *)
  29. | LeftShiftL
    (*

    Left bitshift 64bit

    *)
  30. | SignedRightShiftL
    (*

    Signed right bitshift 64bit

    *)
  31. | UnsignedRightShiftL
    (*

    Unsigned right bitshift 64bit

    *)
  32. | BitwiseAndF
    (*

    Bitwise conjunction float

    *)
  33. | BitwiseOrF
    (*

    Bitwise disjunction float

    *)
  34. | BitwiseXorF
    (*

    Bitwise exclusive disjunction float

    *)
  35. | LeftShiftF
    (*

    Left bitshift float

    *)
  36. | SignedRightShiftF
    (*

    Signed right bitshift float

    *)
  37. | UnsignedRightShiftF
    (*

    Unsigned right bitshift float

    *)
  38. | M_atan2
    (*

    Arctangent y/x

    *)
  39. | M_pow
    (*

    Power

    *)
  40. | LstNth
    (*

    Nth element of a string

    *)
  41. | LstRepeat
    (*

    Nth element of a string

    *)
  42. | StrCat
    (*

    String concatenation

    *)
  43. | StrNth
    (*

    Nth element of a string

    *)
  44. | SetDiff
    (*

    Set difference

    *)
  45. | BSetMem
    (*

    Set membership

    *)
  46. | BSetSub
    (*

    Subset

    *)
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val equal : t -> t -> Ppx_deriving_runtime.bool
val str : t -> string

Printer