-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from mbarbin/fpath-sexp0
Introduce fpath-sexp0 - split package dependencies
- Loading branch information
Showing
33 changed files
with
581 additions
and
607 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# This file is generated by dune, edit dune-project instead | ||
opam-version: "2.0" | ||
synopsis: | ||
"Adding sexp converters to Fpath as well as Abs and Rel path modules" | ||
maintainer: ["Mathieu Barbin"] | ||
authors: ["Mathieu Barbin"] | ||
license: "MIT" | ||
homepage: "https://github.com/mbarbin/fpath-base" | ||
doc: "https://mbarbin.github.io/fpath-base/" | ||
bug-reports: "https://github.com/mbarbin/fpath-base/issues" | ||
depends: [ | ||
"dune" {>= "3.16"} | ||
"ocaml" {>= "5.2"} | ||
"ocamlformat" {with-dev-setup & = "0.26.2"} | ||
"bisect_ppx" {with-dev-setup & >= "2.8.3"} | ||
"fpath" {>= "0.7.3"} | ||
"ppx_js_style" {with-dev-setup & >= "v0.17" & < "v0.18"} | ||
"ppx_sexp_conv" {>= "v0.17" & < "v0.18"} | ||
"ppx_sexp_value" {>= "v0.17" & < "v0.18"} | ||
"ppxlib" {>= "0.33"} | ||
"sexplib0" {>= "v0.17" & < "v0.18"} | ||
"odoc" {with-doc} | ||
] | ||
build: [ | ||
["dune" "subst"] {dev} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/mbarbin/fpath-base.git" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
module Fpath = struct | ||
module T = Fpath_sexp0.Fpath | ||
include T | ||
include Comparable.Make (T) | ||
|
||
let hash t = String.hash (T.to_string t) | ||
let hash_fold_t state t = String.hash_fold_t state (T.to_string t) | ||
end | ||
|
||
module Absolute_path = struct | ||
module T = Fpath_sexp0.Absolute_path | ||
include T | ||
include Comparable.Make (T) | ||
|
||
let hash t = String.hash (T.to_string t) | ||
let hash_fold_t state t = String.hash_fold_t state (T.to_string t) | ||
end | ||
|
||
module Relative_path = struct | ||
module T = Fpath_sexp0.Relative_path | ||
include T | ||
include Comparable.Make (T) | ||
|
||
let hash t = String.hash (T.to_string t) | ||
let hash_fold_t state t = String.hash_fold_t state (T.to_string t) | ||
end | ||
|
||
module File_name = struct | ||
module T = Fpath_sexp0.File_name | ||
include T | ||
include Comparable.Make (T) | ||
|
||
let hash t = String.hash (T.to_string t) | ||
let hash_fold_t state t = String.hash_fold_t state (T.to_string t) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
module Fpath : sig | ||
type t = Fpath_sexp0.Fpath.t [@@deriving hash] | ||
|
||
include module type of Fpath_sexp0.Fpath with type t := t | ||
include Comparable.S with type t := t | ||
end | ||
|
||
module Absolute_path : sig | ||
type t = Fpath_sexp0.Absolute_path.t [@@deriving hash] | ||
|
||
include module type of Fpath_sexp0.Absolute_path with type t := t | ||
include Comparable.S with type t := t | ||
end | ||
|
||
module Relative_path : sig | ||
type t = Fpath_sexp0.Relative_path.t [@@deriving hash] | ||
|
||
include module type of Fpath_sexp0.Relative_path with type t := t | ||
include Comparable.S with type t := t | ||
end | ||
|
||
module File_name : sig | ||
type t = Fpath_sexp0.File_name.t [@@deriving hash] | ||
|
||
include module type of Fpath_sexp0.File_name with type t := t | ||
include Comparable.S with type t := t | ||
end |
File renamed without changes.
Oops, something went wrong.