Skip to content

Commit

Permalink
[serlib] Compat with JS libs >= v0.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ejgallego committed Jul 24, 2023
1 parent 0bd0772 commit a224455
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## Version 0.17.1:

- [sertop] Don't initialize `CoqworkmgrApi` (@ejgallego, #340)
- [serlib] Compat with Jane Street libraries >= v0.16.0 (@ejgallego,
#351)

## Version 0.17.0:

- [serlib] (!) Serialization format of generic arguments has changed
Expand Down
7 changes: 7 additions & 0 deletions serlib/ser_stdlib.ml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,16 @@ let ref_of_yojson f x = Result.map (fun x -> ref x) (f x)
let hash_fold_ref = hash_fold_ref_frozen
let compare_ref = compare_ref

let (==) = Stdlib.(==)

module Lazy = struct
type 'a t = 'a lazy_t
[@@deriving sexp]
end

module List = struct
type 'a t = 'a list
[@@deriving sexp]
end

module Option = Stdlib.Option

0 comments on commit a224455

Please sign in to comment.