diff options
| author | Hugo Herbelin | 2020-11-11 16:24:45 +0100 |
|---|---|---|
| committer | Hugo Herbelin | 2020-11-11 19:21:57 +0100 |
| commit | 696b97978668f7d145af98b4163d4f32352b7442 (patch) | |
| tree | 16552ef313c5263699cf1e58ecb5168e1fdbad45 /kernel/names.mli | |
| parent | 6cebd412748b82c4c9bbef295503ed1954981b45 (diff) | |
Addressing #13349: accept Search on subparts of ident, not only on subidents.
Diffstat (limited to 'kernel/names.mli')
| -rw-r--r-- | kernel/names.mli | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/names.mli b/kernel/names.mli index 9a4ceef802..74a4e6f7d0 100644 --- a/kernel/names.mli +++ b/kernel/names.mli @@ -44,6 +44,9 @@ sig val is_valid : string -> bool (** Check that a string may be converted to an identifier. *) + val is_valid_ident_part : string -> bool + (** Check that a string is a valid part of an identifier *) + val of_bytes : bytes -> t val of_string : string -> t (** Converts a string into an identifier. |
