From Double Float Source # | Uses double2Float . This necessarily loses some precision. |
Instance details |
From Float Double Source # | Uses float2Double . |
Instance details |
From Int Int64 Source # | Uses fromIntegral . |
Instance details |
From Int Integer Source # | Uses fromIntegral . |
Instance details |
From Int8 Double Source # | Uses fromIntegral . |
Instance details |
From Int8 Float Source # | Uses fromIntegral . |
Instance details |
From Int8 Int Source # | Uses fromIntegral . |
Instance details |
From Int8 Int16 Source # | Uses fromIntegral . |
Instance details |
From Int8 Int32 Source # | Uses fromIntegral . |
Instance details |
From Int8 Int64 Source # | Uses fromIntegral . |
Instance details |
From Int8 Integer Source # | Uses fromIntegral . |
Instance details |
From Int16 Double Source # | Uses fromIntegral . |
Instance details |
From Int16 Float Source # | Uses fromIntegral . |
Instance details |
From Int16 Int Source # | Uses fromIntegral . |
Instance details |
From Int16 Int32 Source # | Uses fromIntegral . |
Instance details |
From Int16 Int64 Source # | Uses fromIntegral . |
Instance details |
From Int16 Integer Source # | Uses fromIntegral . |
Instance details |
From Int32 Double Source # | Uses fromIntegral . |
Instance details |
From Int32 Int64 Source # | Uses fromIntegral . |
Instance details |
From Int32 Integer Source # | Uses fromIntegral . |
Instance details |
From Int64 Integer Source # | Uses fromIntegral . |
Instance details |
From Integer Day Source # | Uses ModifiedJulianDay . |
Instance details |
From Natural Integer Source # | Uses fromIntegral . |
Instance details |
From Rational Double Source # | Uses fromRational . This necessarily loses some precision. |
Instance details |
From Rational Float Source # | Uses fromRational . This necessarily loses some precision. |
Instance details |
From Rational TimeOfDay Source # | Uses dayFractionToTimeOfDay . |
Instance details |
From Rational UniversalTime Source # | Uses ModJulianDate . |
Instance details |
From Word Integer Source # | Uses fromIntegral . |
Instance details |
From Word Natural Source # | Uses fromIntegral . |
Instance details |
From Word Word64 Source # | Uses fromIntegral . |
Instance details |
From Word8 Double Source # | Uses fromIntegral . |
Instance details |
From Word8 Float Source # | Uses fromIntegral . |
Instance details |
From Word8 Int Source # | Uses fromIntegral . |
Instance details |
From Word8 Int16 Source # | Uses fromIntegral . |
Instance details |
From Word8 Int32 Source # | Uses fromIntegral . |
Instance details |
From Word8 Int64 Source # | Uses fromIntegral . |
Instance details |
From Word8 Integer Source # | Uses fromIntegral . |
Instance details |
From Word8 Natural Source # | Uses fromIntegral . |
Instance details |
From Word8 Word Source # | Uses fromIntegral . |
Instance details |
From Word8 Word16 Source # | Uses fromIntegral . |
Instance details |
From Word8 Word32 Source # | Uses fromIntegral . |
Instance details |
From Word8 Word64 Source # | Uses fromIntegral . |
Instance details |
From Word16 Double Source # | Uses fromIntegral . |
Instance details |
From Word16 Float Source # | Uses fromIntegral . |
Instance details |
From Word16 Int Source # | Uses fromIntegral . |
Instance details |
From Word16 Int32 Source # | Uses fromIntegral . |
Instance details |
From Word16 Int64 Source # | Uses fromIntegral . |
Instance details |
From Word16 Integer Source # | Uses fromIntegral . |
Instance details |
From Word16 Natural Source # | Uses fromIntegral . |
Instance details |
From Word16 Word Source # | Uses fromIntegral . |
Instance details |
From Word16 Word32 Source # | Uses fromIntegral . |
Instance details |
From Word16 Word64 Source # | Uses fromIntegral . |
Instance details |
From Word32 Double Source # | Uses fromIntegral . |
Instance details |
From Word32 Int64 Source # | Uses fromIntegral . |
Instance details |
From Word32 Integer Source # | Uses fromIntegral . |
Instance details |
From Word32 Natural Source # | Uses fromIntegral . |
Instance details |
From Word32 Word64 Source # | Uses fromIntegral . |
Instance details |
From Word64 Integer Source # | Uses fromIntegral . |
Instance details |
From Word64 Natural Source # | Uses fromIntegral . |
Instance details |
From a a Source # | Uses id . |
Instance details |
From Pico NominalDiffTime Source # | Uses secondsToNominalDiffTime . |
Instance details |
From Pico DiffTime Source # | Uses realToFrac . |
Instance details |
From String ByteString Source # | Converts via Text . |
Instance details |
From String ByteString Source # | Converts via Text . |
Instance details |
From String Text Source # | Uses pack . Some Char values cannot be represented in
Text and will be replaced with '\xFFFD' . |
Instance details |
From String Text Source # | Uses pack . Some Char values cannot be represented in Text
and will be replaced with '\xFFFD' . |
Instance details |
From ShortByteString ByteString Source # | Uses fromShort . |
Instance details |
From ByteString ByteString Source # | Uses toStrict . |
Instance details |
From ByteString ShortByteString Source # | Uses toShort . |
Instance details |
From ByteString ByteString Source # | Uses fromStrict . |
Instance details |
From Text String Source # | Uses unpack . |
Instance details |
From Text ByteString Source # | Uses encodeUtf8 . |
Instance details |
From Text ByteString Source # | Converts via ByteString . |
Instance details |
From Text Text Source # | Uses toStrict . |
Instance details |
From Text String Source # | Uses unpack . |
Instance details |
From Text ByteString Source # | Converts via ByteString . |
Instance details |
From Text ByteString Source # | Uses encodeUtf8 . |
Instance details |
From Text Text Source # | Uses fromStrict . |
Instance details |
From ZonedTime UTCTime Source # | Uses zonedTimeToUTC . |
Instance details |
From TimeOfDay Rational Source # | Uses timeOfDayToDayFraction . |
Instance details |
From TimeOfDay DiffTime Source # | Uses timeOfDayToTime . |
Instance details |
From UniversalTime Rational Source # | Uses getModJulianDate . |
Instance details |
From UTCTime SystemTime Source # | Uses utcToSystemTime . |
Instance details |
From UTCTime POSIXTime Source # | Uses utcTimeToPOSIXSeconds . |
Instance details |
From SystemTime UTCTime Source # | Uses systemToUTCTime . |
Instance details |
From SystemTime POSIXTime Source # | Uses systemToPOSIXTime . |
Instance details |
From SystemTime AbsoluteTime Source # | Uses systemToTAITime . |
Instance details |
From POSIXTime UTCTime Source # | Uses posixSecondsToUTCTime . |
Instance details |
From NominalDiffTime Pico Source # | Uses nominalDiffTimeToSeconds . |
Instance details |
From NominalDiffTime CalendarDiffTime Source # | Uses calendarTimeTime . |
Instance details |
From DiffTime Pico Source # | Uses realToFrac . |
Instance details |
From DiffTime TimeOfDay Source # | Uses timeToTimeOfDay . |
Instance details |
From Day Integer Source # | Uses toModifiedJulianDay . |
Instance details |
From Day DayOfWeek Source # | Uses dayOfWeek . |
Instance details |
From CalendarDiffDays CalendarDiffTime Source # | Uses calendarTimeDays . |
Instance details |
TryFrom Double Int Source # | Converts via Integer . |
Instance details |
TryFrom Double Int8 Source # | Converts via Integer . |
Instance details |
TryFrom Double Int16 Source # | Converts via Integer . |
Instance details |
TryFrom Double Int32 Source # | Converts via Integer . |
Instance details |
TryFrom Double Int64 Source # | Converts via Integer . |
Instance details |
TryFrom Double Integer Source # | Converts via Rational when the input is between -9,007,199,254,740,991
and 9,007,199,254,740,991 inclusive. |
Instance details |
TryFrom Double Natural Source # | Converts via Integer . |
Instance details |
TryFrom Double Rational Source # | Uses floatToDigits when the input is not NaN or infinity. |
Instance details |
TryFrom Double Word Source # | Converts via Integer . |
Instance details |
TryFrom Double Word8 Source # | Converts via Integer . |
Instance details |
TryFrom Double Word16 Source # | Converts via Integer . |
Instance details |
TryFrom Double Word32 Source # | Converts via Integer . |
Instance details |
TryFrom Double Word64 Source # | Converts via Integer . |
Instance details |
TryFrom Float Int Source # | Converts via Integer . |
Instance details |
TryFrom Float Int8 Source # | Converts via Integer . |
Instance details |
TryFrom Float Int16 Source # | Converts via Integer . |
Instance details |
TryFrom Float Int32 Source # | Converts via Integer . |
Instance details |
TryFrom Float Int64 Source # | Converts via Integer . |
Instance details |
TryFrom Float Integer Source # | Converts via Rational when the input is between -16,777,215 and
16,777,215 inclusive. |
Instance details |
TryFrom Float Natural Source # | Converts via Integer . |
Instance details |
TryFrom Float Rational Source # | Uses floatToDigits when the input is not NaN or infinity. |
Instance details |
TryFrom Float Word Source # | Converts via Integer . |
Instance details |
TryFrom Float Word8 Source # | Converts via Integer . |
Instance details |
TryFrom Float Word16 Source # | Converts via Integer . |
Instance details |
TryFrom Float Word32 Source # | Converts via Integer . |
Instance details |
TryFrom Float Word64 Source # | Converts via Integer . |
Instance details |
TryFrom Int Double Source # | Uses fromIntegral when the input is between -9,007,199,254,740,991 and
9,007,199,254,740,991 inclusive. |
Instance details |
TryFrom Int Float Source # | Uses fromIntegral when the input is between -16,777,215 and 16,777,215
inclusive. |
Instance details |
TryFrom Int Int8 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int Int16 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int Int32 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int Natural Source # | Uses fromIntegral when the input is not negative. |
Instance details |
TryFrom Int Word Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int Word8 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int Word16 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int Word32 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int Word64 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int8 Natural Source # | Uses fromIntegral when the input is not negative. |
Instance details |
TryFrom Int8 Word Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int8 Word8 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int8 Word16 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int8 Word32 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int8 Word64 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int16 Int8 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int16 Natural Source # | Uses fromIntegral when the input is not negative. |
Instance details |
TryFrom Int16 Word Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int16 Word8 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int16 Word16 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int16 Word32 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int16 Word64 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int32 Float Source # | Uses fromIntegral when the input is between -16,777,215 and 16,777,215
inclusive. |
Instance details |
TryFrom Int32 Int Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int32 Int8 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int32 Int16 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int32 Natural Source # | Uses fromIntegral when the input is not negative. |
Instance details |
TryFrom Int32 Word Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int32 Word8 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int32 Word16 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int32 Word32 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int32 Word64 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int64 Double Source # | Uses fromIntegral when the input is between -9,007,199,254,740,991 and
9,007,199,254,740,991 inclusive. |
Instance details |
TryFrom Int64 Float Source # | Uses fromIntegral when the input is between -16,777,215 and 16,777,215
inclusive. |
Instance details |
TryFrom Int64 Int Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int64 Int8 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int64 Int16 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int64 Int32 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int64 Natural Source # | Uses fromIntegral when the input is not negative. |
Instance details |
TryFrom Int64 Word Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int64 Word8 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int64 Word16 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int64 Word32 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Int64 Word64 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Integer Double Source # | Uses fromIntegral when the input is between -9,007,199,254,740,991 and
9,007,199,254,740,991 inclusive. |
Instance details |
TryFrom Integer Float Source # | Uses fromIntegral when the input is between -16,777,215 and 16,777,215
inclusive. |
Instance details |
TryFrom Integer Int Source # | Uses toIntegralSized . |
Instance details |
TryFrom Integer Int8 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Integer Int16 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Integer Int32 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Integer Int64 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Integer Natural Source # | Uses fromInteger when the input is not negative. |
Instance details |
TryFrom Integer Word Source # | Uses toIntegralSized . |
Instance details |
TryFrom Integer Word8 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Integer Word16 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Integer Word32 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Integer Word64 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Natural Double Source # | Uses fromIntegral when the input is less than or equal to
9,007,199,254,740,991. |
Instance details |
TryFrom Natural Float Source # | Uses fromIntegral when the input is less than or equal to 16,777,215. |
Instance details |
TryFrom Natural Int Source # | Uses toIntegralSized . |
Instance details |
TryFrom Natural Int8 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Natural Int16 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Natural Int32 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Natural Int64 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Natural Word Source # | Uses toIntegralSized . |
Instance details |
TryFrom Natural Word8 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Natural Word16 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Natural Word32 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Natural Word64 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word Double Source # | Uses fromIntegral when the input is less than or equal to
9,007,199,254,740,991. |
Instance details |
TryFrom Word Float Source # | Uses fromIntegral when the input is less than or equal to 16,777,215. |
Instance details |
TryFrom Word Int Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word Int8 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word Int16 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word Int32 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word Int64 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word Word8 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word Word16 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word Word32 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word8 Int8 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word16 Int8 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word16 Int16 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word16 Word8 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word32 Float Source # | Uses fromIntegral when the input is less than or equal to 16,777,215. |
Instance details |
TryFrom Word32 Int Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word32 Int8 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word32 Int16 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word32 Int32 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word32 Word Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word32 Word8 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word32 Word16 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word64 Double Source # | Uses fromIntegral when the input is less than or equal to
9,007,199,254,740,991. |
Instance details |
TryFrom Word64 Float Source # | Uses fromIntegral when the input is less than or equal to 16,777,215. |
Instance details |
TryFrom Word64 Int Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word64 Int8 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word64 Int16 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word64 Int32 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word64 Int64 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word64 Word Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word64 Word8 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word64 Word16 Source # | Uses toIntegralSized . |
Instance details |
TryFrom Word64 Word32 Source # | Uses toIntegralSized . |
Instance details |
TryFrom ByteString String Source # | Converts via Text . |
Instance details |
TryFrom ByteString Text Source # | Uses decodeUtf8' . |
Instance details |
TryFrom ByteString Text Source # | Converts via Text . |
Instance details |
TryFrom ByteString String Source # | Converts via Text . |
Instance details |
TryFrom ByteString Text Source # | Converts via Text . |
Instance details |
TryFrom ByteString Text Source # | Uses decodeUtf8' . |
Instance details |
Num a => From a (Complex a) Source # | Uses (:+) with an imaginary part of 0. |
Instance details |
Integral a => From a (Ratio a) Source # | Uses (%) with a denominator of 1. |
Instance details |
From ShortByteString [Word8] Source # | Uses unpack . |
Instance details |
From ByteString [Word8] Source # | Uses unpack . |
Instance details |
From ByteString [Word8] Source # | Uses unpack . |
Instance details |
From IntSet [Int] Source # | Uses toAscList . |
Instance details |
From Integer (Fixed a) Source # | Uses MkFixed . This means from @Integer @Centi 2 is 0.02
rather than 2.00 . |
Instance details |
HasResolution a => TryFrom Rational (Fixed a) Source # | Uses fromRational as long as there isn't a loss of precision. |
Instance details |
From [Int] IntSet Source # | Uses fromList . |
Instance details |
From [Word8] ShortByteString Source # | Uses pack . |
Instance details |
From [Word8] ByteString Source # | Uses pack . |
Instance details |
From [Word8] ByteString Source # | Uses pack . |
Instance details |
(Eq a, Num a) => TryFrom (Ratio a) a Source # | Uses numerator when the denominator is 1. |
Instance details |
(Eq a, Num a) => TryFrom (Complex a) a Source # | Uses realPart when the imaginary part is 0. |
Instance details |
From [(Int, v)] (IntMap v) Source # | Uses fromList . If there are duplicate keys, later values will
overwrite earlier ones. |
Instance details |
From [a] (Seq a) Source # | Uses fromList . |
Instance details |
Ord a => From [a] (Set a) Source # | Uses fromList . |
Instance details |
From (NonEmpty a) [a] Source # | Uses toList . |
Instance details |
From (IntMap v) [(Int, v)] Source # | Uses toAscList . |
Instance details |
From (Seq a) [a] Source # | Uses toList . |
Instance details |
From (Set a) [a] Source # | Uses toAscList . |
Instance details |
TryFrom [a] (NonEmpty a) Source # | Uses nonEmpty . |
Instance details |
Ord k => From [(k, v)] (Map k v) Source # | Uses fromList . If there are duplicate keys, later values will
overwrite earlier ones. |
Instance details |
HasResolution a => From (Fixed a) Rational Source # | Uses toRational . |
Instance details |
From (Fixed a) Integer Source # | Uses MkFixed . This means from @Centi @Integer 3.00 is 300
rather than 3 . |
Instance details |
From (Map k v) [(k, v)] Source # | Uses toAscList . |
Instance details |
From (TryFromException source oldTarget) (TryFromException source newTarget) Source # | Uses coerce . |
Instance details |