Stage Var.compare
This commit is contained in:
parent
1f99d0fb70
commit
161be3af1c
11
src/env.ml
11
src/env.ml
|
@ -2,11 +2,12 @@ open Import
|
||||||
|
|
||||||
module Var = struct
|
module Var = struct
|
||||||
type t = string
|
type t = string
|
||||||
let compare a b =
|
let compare =
|
||||||
if Sys.win32 then
|
if Sys.win32 then (
|
||||||
String.compare (String.lowercase a) (String.lowercase b)
|
fun a b -> String.compare (String.lowercase a) (String.lowercase b)
|
||||||
else
|
) else (
|
||||||
String.compare a b
|
String.compare
|
||||||
|
)
|
||||||
|
|
||||||
let equal a b =
|
let equal a b =
|
||||||
match compare a b with
|
match compare a b with
|
||||||
|
|
Loading…
Reference in New Issue