hfmt
This commit is contained in:
parent
5c0d78d503
commit
8b6ff8e13a
1 changed files with 1 additions and 2 deletions
|
@ -42,8 +42,7 @@ instance (GApproxEq f) =>
|
|||
|
||||
class ApproxEq a where
|
||||
(=~) :: a -> a -> Bool
|
||||
default (=~) :: (Generic a, GApproxEq (Rep a)) =>
|
||||
a -> a -> Bool
|
||||
default (=~) :: (Generic a, GApproxEq (Rep a)) => a -> a -> Bool
|
||||
a =~ b = gApproxEq (G.from a) (G.from b)
|
||||
|
||||
instance ApproxEq Text where
|
||||
|
|
Loading…
Reference in a new issue