~ubuntu-branches/ubuntu/saucy/marionnet/saucy-proposed

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
type varname = string

val extract_string_variable_or :
  ?k:(string -> string) ->               (** An optional continuation *)
  ?unsuitable_value:(string -> bool) ->  (** Filter unsuitable values *)
  default:string ->                      (** The default value, if the variable is undeclared or its value unsuitable *)
  varname -> string                      (** The name of the variable *)

val extract_bool_variable_or :
  default:bool ->                        (** The default value, if the variable is undeclared or its value unsuitable *)
  varname -> bool                        (** The name of the variable *)

val get_string_variable :
  ?k:(string -> string option) ->        (** An optional continuation, applied with Option.bind *)
  ?unsuitable_value:(string -> bool) ->  (** Filter unsuitable values *)
  varname -> string option               (** The name of the variable *)