Skip to content

Commit

Permalink
Move operators into modules
Browse files Browse the repository at this point in the history
  • Loading branch information
filipeom committed Dec 6, 2024
1 parent cfc3534 commit 7e452c7
Show file tree
Hide file tree
Showing 12 changed files with 826 additions and 853 deletions.
15 changes: 15 additions & 0 deletions src/binder.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
(* Dolmen's binders *)
type t =
| Forall
| Exists
| Let_in

let equal a b =
match (a, b) with
| Forall, Forall | Exists, Exists | Let_in, Let_in -> true
| (Forall | Exists | Let_in), _ -> false

let pp fmt = function
| Forall -> Fmt.string fmt "forall"
| Exists -> Fmt.string fmt "exists"
| Let_in -> Fmt.string fmt "let"
Loading

0 comments on commit 7e452c7

Please sign in to comment.