package genspio

  1. Overview
  2. Docs
val to_c_string : byte_array t -> c_string t
val to_byte_array : c_string t -> byte_array t
module C_string : sig ... end
module Byte_array : sig ... end
module Base : sig ... end
include module type of struct include Base end
val literal : 'a Literal.t -> 'a t
val byte_array : Common.string -> byte_array t
val int : Common.int -> Common.int t
val bool : Common.bool -> Common.bool t
val c_string : Common.string -> c_string t
val string : Common.string -> c_string t
val returns : 'a t -> value:Common.int -> Common.bool t
val succeeds : 'a t -> Common.bool t
val nop : Common.unit t
val if_then_else : Common.bool t -> Common.unit t -> Common.unit t -> Common.unit t
val if_then : Common.bool t -> Common.unit t -> Common.unit t
val not : Common.bool t -> Common.bool t
val comment : Common.string -> 'a t -> 'a t
val (%%%) : Common.string -> 'a t -> 'a t
val make_switch : (Common.bool t * Common.unit t) Common.list -> default:Common.unit t -> Common.unit t
val write_output : ?stdout:c_string t -> ?stderr:c_string t -> ?return_value:c_string t -> Common.unit t -> Common.unit t
val write_stdout : path:c_string t -> Common.unit t -> Common.unit t
val to_file : Common.int t -> c_string t -> fd_redirection
val with_redirections : Common.unit t -> fd_redirection Common.list -> Common.unit t
val file_exists : c_string t -> Common.bool t
val getenv : c_string t -> c_string t
val setenv : var:c_string t -> c_string t -> Common.unit t
val get_stdout : Common.unit t -> byte_array t
val feed : string:byte_array t -> Common.unit t -> Common.unit t
val loop_while : Common.bool t -> body:Common.unit t -> Common.unit t
val loop_seq_while : Common.bool t -> Common.unit t Common.list -> Common.unit t
val byte_array_concat_list : byte_array Common.list t -> byte_array t
module Bool : sig ... end
module Integer : sig ... end
module Magic : sig ... end
module Elist : sig ... end