Skip to content

Commit

Permalink
add missing operators in constraint operators module
Browse files Browse the repository at this point in the history
  • Loading branch information
ghilesZ committed May 26, 2024
1 parent 02d380e commit 6fbba61
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/lang/constraint.ml
Original file line number Diff line number Diff line change
Expand Up @@ -195,4 +195,12 @@ module Operators = struct
let ( = ) = eq

let ( <> ) = neq

let ( && ) = and_

let ( || ) = or_

let ( => ) = imply

let not = not_
end
8 changes: 8 additions & 0 deletions lib/lang/constraint.mli
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,12 @@ module Operators : sig
val ( = ) : Expr.t -> Expr.t -> t

val ( <> ) : Expr.t -> Expr.t -> t

val ( && ) : t -> t -> t

val ( || ) : t -> t -> t

val ( => ) : t -> t -> t

val not : t -> t
end

0 comments on commit 6fbba61

Please sign in to comment.