mirror of
https://github.com/tfausak/witch.git
synced 2024-11-22 14:58:13 +03:00
Fix typo
This commit is contained in:
parent
9f5663e1ef
commit
8c36a3621e
@ -805,7 +805,7 @@ instance TryCast.TryCast Float Rational where
|
|||||||
then if s > 0 then Left Exception.Overflow else Left Exception.Underflow
|
then if s > 0 then Left Exception.Overflow else Left Exception.Underflow
|
||||||
else Right $ toRational s
|
else Right $ toRational s
|
||||||
|
|
||||||
-- | Uses 'Float.double2Float'.
|
-- | Uses 'Float.float2Double'.
|
||||||
instance Cast.Cast Float Double where
|
instance Cast.Cast Float Double where
|
||||||
cast = Float.float2Double
|
cast = Float.float2Double
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user