val compare_name (n1 n2: name) : order
val compare_name (n1 n2: name) : order
let compare_name (n1 n2 : name) : order =
    compare_list n1 n2 (fun s1 s2 -> order_from_int (compare_string s1 s2))
(*
   Copyright 2008-2018 Microsoft Research

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*)
module FStar.Reflection.V2.Compare

open FStar.Stubs.Reflection.Types
open FStar.Stubs.Reflection.V2.Data
open FStar.Stubs.Reflection.V2.Builtins
open FStar.Reflection.V2.Derived
open FStar.Order
/
prims.fst.checked FStar.Stubs.Reflection.V2.Data.fsti.checked FStar.Stubs.Reflection.V2.Builtins.fsti.checked FStar.Stubs.Reflection.Types.fsti.checked FStar.Reflection.V2.Derived.fst.checked FStar.Pervasives.Native.fst.checked FStar.Pervasives.fsti.checked FStar.Order.fst.checked
FStar.Reflection.V2.Compare.fst
n1: FStar.Stubs.Reflection.Types.name -> n2: FStar.Stubs.Reflection.Types.name -> FStar.Order.order
FStar.Stubs.Reflection.Types.name FStar.Order.compare_list Prims.string Prims.precedes Prims.list FStar.Order.order_from_int FStar.Stubs.Reflection.V2.Builtins.compare_string FStar.Order.order
let compare_name (n1 n2: name) : order =
  
compare_list n1 n2 (fun s1 s2 -> order_from_int (compare_string s1 s2))