Module type Signatures.PLUGIN
val the : 'a option -> 'aval getenv : ?default:string -> string -> stringval with_output_file : ?bin:bool -> string -> (out_channel -> 'a) -> 'aval with_temp_file : string -> string -> (string -> 'a) -> 'aval read_file : string -> stringval copy_file : string -> string -> unitval (&) : ('a -> 'b) -> 'a -> 'bval (|>) : 'a -> ('a -> 'b) -> 'bval (@:=) : 'a list ref -> 'a list -> unitval memo : ('a -> 'b) -> 'a -> 'bval memo2 : ('a -> 'b -> 'c) -> 'a -> 'b -> 'cval memo3 : ('a -> 'b -> 'c -> 'd) -> 'a -> 'b -> 'c -> 'dand spec = Command.spec = | N| S of spec list| A of string| P of string| Px of string| Sh of string| T of Tags.t| V of string| Quote of spec
val rule :
string ->
?tags:string list ->
?prods:string list ->
?deps:string list ->
?prod:string ->
?dep:string ->
?stamp:string ->
?insert:[ `after of string | `before of string | `bottom | `top ] ->
?doc:string ->
action ->
unitval copy_rule :
string ->
?insert:[ `after of string | `before of string | `bottom | `top ] ->
string ->
string ->
unitval clear_rules : unit -> unitval ocaml_lib :
?extern:bool ->
?byte:bool ->
?native:bool ->
?dir:Pathname.t ->
?tag_name:string ->
Pathname.t ->
unitval string_list_of_file : Pathname.t -> string listval module_name_of_pathname : Pathname.t -> stringval hide_package_contents : string -> unitval run_and_read : string -> stringtype hook = | Before_hygiene| After_hygiene| Before_options| After_options| Before_rules| After_rules
val dispatch : (hook -> unit) -> unit