/usr/lib/ocaml/deriving/functor.mli is in libderiving-ocaml-dev 0.1.1a-3build4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | module type Functor =
sig
type 'a f
val map : ('a -> 'b) -> 'a f -> 'b f
end
module MonadFunctor (M : Monad.Monad) : Functor with type 'a f = 'a M.m
module Functor_option : Functor with type 'a f = 'a option
module Functor_list : Functor with type 'a f = 'a list
module Functor_map (O : Map.OrderedType) : Functor with type 'a f = 'a Map.Make(O).t
|