Skip to content

Instantly share code, notes, and snippets.

@thelema
Created March 2, 2012 19:08
Show Gist options
  • Save thelema/1960458 to your computer and use it in GitHub Desktop.
Save thelema/1960458 to your computer and use it in GitHub Desktop.
module Infix = struct
include BatNumber.MakeInfix(BaseFloat)
let (=~) = approx_equal
end
include (BatNumber.MakeNumeric(BaseFloat) : BatNumber.Numeric with type t = float and module Infix := Infix)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment