Type_desc.ConfigsThis module provides the functionality of configurations. Contains types and functions for handling configurations.
val empty : 'pos tAn empty configuration.
Returns the result of the appropriate conversion if found, else None.
Returns the result of the appropriate conversion if found, else the default value.
val get :
?default:('pos, 'kind) config ->
(('pos, 'kind) config -> bool) ->
'pos t ->
('pos, 'kind) configReturns the first configuration satisfying the predicate if found, else the default configuration.
type config += | Config_foreign_type_expression : ('tag, 'datatype_expr)
Bindoj_runtime.foreign_language
* 'datatype_expr -> ([ `coretype ], [ `foreign_type_expression ]) configConfig for foreign type expression.
*)val find_foreign_type_expr :
('tag, 'datatype_expr) Bindoj_runtime.foreign_language ->
[ `coretype ] t ->
'datatype_expr optionReturns the datatype_expr of the configuration involving the given foreign language if found, else None.