diff options
author | Matej Košík <matej.kosik@inria.fr> | 2017-04-10 16:03:56 +0200 |
---|---|---|
committer | Matej Košík <matej.kosik@inria.fr> | 2017-04-10 16:03:56 +0200 |
commit | 48e48837748764657303bd062801a7381a434d11 (patch) | |
tree | 243e0e051061adc6d707f038f4a5a6ab470a41c9 | |
parent | f68833cf6969b787dd43257a33f0b2f9297ed599 (diff) |
Revert "refactoring: Names.DirPath.is_empty"
This reverts commit e180cce2384bacaa5ad5b9d6e15b55de8cc913cc.
-rw-r--r-- | kernel/names.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/names.ml b/kernel/names.ml index 5c10badbe..b91fa758f 100644 --- a/kernel/names.ml +++ b/kernel/names.ml @@ -178,7 +178,7 @@ struct let empty = [] - let is_empty = List.is_empty + let is_empty d = match d with [] -> true | _ -> false let to_string = function | [] -> "<>" |