Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions serlib/ser_declarations.ml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ open Ppx_hash_lib.Std.Hash.Builtin
open Ppx_compare_lib.Builtin
let hash_fold_array = hash_fold_array_frozen

module Evar = Ser_evar
module Rtree = Ser_rtree
module Names = Ser_names
module Context = Ser_context
Expand Down Expand Up @@ -147,6 +148,23 @@ type ('q, 'u) instance_mask =
[%import: ('q, 'u) UVars.Instance.mask]
[@@deriving sexp,yojson,hash,compare]

type 'arg name_annotated =
[%import: 'arg Declarations.name_annotated]
[@@deriving sexp,yojson,hash,compare]

type pattern =
[%import: Declarations.pattern
[@with sort_pattern := Sorts.pattern]]
[@@deriving sexp,yojson,hash,compare]

and arg_pattern =
[%import: Declarations.arg_pattern]
[@@deriving sexp,yojson,hash,compare]

type rewrite_rule =
[%import: Declarations.rewrite_rule]
[@@deriving sexp,yojson,hash,compare]

type head_pattern =
[%import: Declarations.head_pattern
[@with sort_pattern := Sorts.pattern]]
Expand Down
1 change: 1 addition & 0 deletions serlib/ser_evar.ml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ end
include Self

module Set = Ser_cSet.Make(Evar.Set)(Self)
module Map = Ser_cMap.Make(Evar.Map)(Self)
1 change: 1 addition & 0 deletions serlib/ser_evar.mli
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ module Self : SerType.SJHC with type t = Evar.t
include module type of Self

module Set : SerType.SJHC with type t = Evar.Set.t
module Map : SerType.SJHC1 with type 'a t = 'a Evar.Map.t
Loading