[sledge] Rename nonstdlib/{map,set} to nonstdlib/{NSMap,NSSet}

Reviewed By: ngorogiannis

Differential Revision: D26250537

fbshipit-source-id: ff1dc3751
master
Josh Berdine 4 years ago committed by Facebook GitHub Bot
parent 9ca7ba3619
commit de8d583f82

@ -38,13 +38,13 @@ module IArray = IArray
include IArray.Import include IArray.Import
module Int = Int module Int = Int
module List = List module List = List
module Map = Map module Map = NSMap
module Monad = Monad module Monad = Monad
module Multiset = Multiset module Multiset = Multiset
module Option = Option module Option = Option
include Option.Import include Option.Import
module Q = Q_ext module Q = Q_ext
module Set = Set module Set = NSSet
module Sign = Sign module Sign = Sign
module String = String module String = String
module Sys = Sys module Sys = Sys

@ -161,8 +161,8 @@ module List = List
module Array = Array module Array = Array
module IArray = IArray module IArray = IArray
include module type of IArray.Import include module type of IArray.Import
module Set = Set module Set = NSSet
module Map = Map module Map = NSMap
module Multiset = Multiset module Multiset = Multiset
module Bijection = CCBijection [@@warning "-49"] module Bijection = CCBijection [@@warning "-49"]

@ -6,7 +6,7 @@
*) *)
open! NS0 open! NS0
include Map_intf include NSMap_intf
module Make (Key : sig module Make (Key : sig
type t [@@deriving compare, sexp_of] type t [@@deriving compare, sexp_of]

@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
*) *)
include module type of Map_intf include module type of NSMap_intf
module Make (Key : sig module Make (Key : sig
type t [@@deriving compare, sexp_of] type t [@@deriving compare, sexp_of]

@ -6,7 +6,7 @@
*) *)
open! NS0 open! NS0
include Set_intf include NSSet_intf
module Make (Elt : sig module Make (Elt : sig
type t [@@deriving compare, sexp_of] type t [@@deriving compare, sexp_of]

@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree. * LICENSE file in the root directory of this source tree.
*) *)
include module type of Set_intf include module type of NSSet_intf
module Make (Elt : sig module Make (Elt : sig
type t [@@deriving compare, sexp_of] type t [@@deriving compare, sexp_of]

@ -47,5 +47,5 @@ let sign = Sign.of_int
let incr = incr let incr = incr
let decr = decr let decr = decr
module Set = Set.Make (T) module Set = NSSet.Make (T)
module Map = Map.Make (T) module Map = NSMap.Make (T)

@ -40,5 +40,5 @@ module Infix : sig
end end
include module type of Infix include module type of Infix
module Set : Set.S with type elt = int module Set : NSSet.S with type elt = int
module Map : Map.S with type key = int module Map : NSMap.S with type key = int

@ -15,7 +15,7 @@ module Make (Elt : sig
end) end)
(Mul : MULTIPLICITY) = (Mul : MULTIPLICITY) =
struct struct
module M = Map.Make (Elt) module M = NSMap.Make (Elt)
type mul = Mul.t type mul = Mul.t
type elt = Elt.t type elt = Elt.t

@ -34,6 +34,6 @@ let rindex = rindex_opt
let rindex_from_exn = rindex_from let rindex_from_exn = rindex_from
let rindex_from = rindex_from_opt let rindex_from = rindex_from_opt
module Set = Set.Make (T) module Set = NSSet.Make (T)
module Map = Map.Make (T) module Map = NSMap.Make (T)
module Tbl = HashTable.Make (T) module Tbl = HashTable.Make (T)

@ -22,6 +22,6 @@ val rtake : int -> string -> string
val rdrop : int -> string -> string val rdrop : int -> string -> string
val rtake_drop : int -> string -> string * string val rtake_drop : int -> string -> string * string
module Set : Set.S with type elt = string module Set : NSSet.S with type elt = string
module Map : Map.S with type key = string module Map : NSMap.S with type key = string
module Tbl : HashTable.S with type key = string module Tbl : HashTable.S with type key = string

Loading…
Cancel
Save