let optional_field_value_A value = if List.mem ['!';'-';'~'] value then optional_field_value_err "A" (Char.to_string value) else Ok (`A value)