module Numeric.Convert.Rational
( Internal.FromRational (..),
fromℚ,
Internal.ToRational (..),
toℚ,
)
where
import GHC.Stack (HasCallStack)
import Numeric.Convert.Internal qualified as Internal
fromℚ :: (Internal.FromRational a, HasCallStack) => Rational -> a
fromℚ :: forall a. (FromRational a, HasCallStack) => Rational -> a
fromℚ = Rational -> a
forall a. (FromRational a, HasCallStack) => Rational -> a
Internal.fromQ
toℚ :: (HasCallStack, Internal.ToRational a) => a -> Rational
toℚ :: forall a. (HasCallStack, ToRational a) => a -> Rational
toℚ = a -> Rational
forall a. (ToRational a, HasCallStack) => a -> Rational
Internal.toQ