Hoogle Search
Within LTS Haskell 24.10 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
safe-json Data.SafeJSON No documentation available.
-
safe-json Data.SafeJSON.Test Constraints for migrating from a future version
-
safe-json Data.SafeJSON.Test Similar to migrateRoundTrip, but tests the migration from a newer type to the older type, in case of a Migrate (Reverse a) instance
migrateReverseRoundTripProp :: TestReverseMigrate a b => String -> TestTreesafe-json Data.SafeJSON.Test Similar to migrateRoundTripProp, but tests the migration from a newer type to the older type, in case of a Migrate (Reverse a) instance.
Just (unReverse $ migrate a) == parseMaybe safeFromJSON (safeToJSON a)
Example usage:
Please also note the reversing of the type applications.migrateReverseRoundTripProp @OldType @NewType s
migrateReverseRoundTripProp' :: TestReverseMigrate a b => Proxy (a, b) -> String -> TestTreesafe-json Data.SafeJSON.Test Similar to migrateRoundTripProp, but tests the migration from a newer type to the older type, in case of a Migrate (Reverse a) instance.
Just (unReverse $ migrate a) == parseMaybe safeFromJSON (safeToJSON a)
-
safe-json Data.SafeJSON.Test Similar to testMigration, but using Migrate (Reverse a). The first argument here is the newer type, which will be migrated back to the expected second argument (older type).
Just (unReverse $ migrate a) == parseMaybe safeFromJSON (safeToJSON a)
effectReverseStereo :: MonadIO m => Channel -> Bool -> m (m ())sdl2-mixer SDL.Mixer Swaps the left and right channel sound. If given True, will swap the sound channels. Returns an action that, when executed, removes this effect. That action simply calls effectReverseStereo with False.
setReverseStereo :: MonadIO m => Channel -> CInt -> m CIntsdl2-mixer SDL.Raw.Mixer No documentation available.
safeReverse :: Slist a -> Slist aslist Slist O(n). Returns the elements of the slist in reverse order. On infinite slists returns the initial slist.
>>> safeReverse $ slist "Hello" Slist {sList = "olleH", sSize = Size 5}
>> reverse $ infiniteSlist [1..] Slist {sList = [1..], sSize = Infinity}
encryptedPassportElementReverseSide :: EncryptedPassportElement -> Maybe PassportFiletelegram-bot-api Telegram.Bot.API.Types.EncryptedPassportElement Encrypted file with the reverse side of the document, provided by the user. Available for “driver_license” and “identity_card”. The file can be decrypted and verified using the accompanying EncryptedCredentials.