package genspio

  1. Overview
  2. Docs

Module Language.ConstructSource

Sourceval to_c_string : byte_array t -> c_string t
Sourceval to_byte_array : c_string t -> byte_array t
Sourcemodule C_string : sig ... end
Sourcemodule Byte_array : sig ... end
Sourcemodule Base : sig ... end
include module type of struct include Base end
Sourceval literal : 'a Literal.t -> 'a t
Sourceval byte_array : string -> byte_array t
Sourceval int : int -> int t
Sourceval bool : bool -> bool t
Sourceval c_string : string -> c_string t
Sourceval string : string -> c_string t
Sourceval exec : string Genspio.Common.List.t -> unit t
Sourceval call : c_string t list -> unit t
Sourceval (&&&) : bool t -> bool t -> bool t
Sourceval (|||) : bool t -> bool t -> bool t
Sourceval returns : 'a t -> value:int -> bool t
Sourceval succeeds : 'a t -> bool t
Sourceval nop : unit t
Sourceval if_then_else : bool t -> unit t -> unit t -> unit t
Sourceval if_then : bool t -> unit t -> unit t
Sourceval seq : unit t list -> unit t
Sourceval not : bool t -> bool t
Sourceval fail : string -> unit t
Sourceval comment : string -> 'a t -> 'a t
Sourceval (%%%) : string -> 'a t -> 'a t
Sourceval make_switch : (bool t * unit t) list -> default:unit t -> unit t
Sourceval write_output : ?stdout:c_string t -> ?stderr:c_string t -> ?return_value:c_string t -> unit t -> unit t
Sourceval write_stdout : path:c_string t -> unit t -> unit t
Sourceval to_fd : int t -> int t -> fd_redirection
Sourceval to_file : int t -> c_string t -> fd_redirection
Sourceval with_redirections : unit t -> fd_redirection list -> unit t
Sourceval file_exists : c_string t -> bool t
Sourceval getenv : c_string t -> c_string t
Sourceval setenv : var:c_string t -> c_string t -> unit t
Sourceval get_stdout : unit t -> byte_array t
Sourceval feed : string:byte_array t -> unit t -> unit t
Sourceval (>>) : byte_array t -> unit t -> unit t
Sourceval pipe : unit t list -> unit t
Sourceval (||>) : unit t -> unit t -> unit t
Sourceval loop_while : bool t -> body:unit t -> unit t
Sourceval loop_seq_while : bool t -> unit t list -> unit t
Sourceval byte_array_concat_list : byte_array list t -> byte_array t
Sourcemodule Bool : sig ... end
Sourcemodule Integer : sig ... end
Sourcemodule Magic : sig ... end
Sourcemodule Elist : sig ... end