simplex-chat-6.5.0.7
Safe HaskellNone
LanguageHaskell2010

Simplex.Chat.Util

Documentation

week :: NominalDiffTime Source #

encryptFile :: FilePath -> FilePath -> CryptoFileArgs -> ExceptT String IO () Source #

chunkSize :: Num a => a Source #

liftIOEither :: (MonadIO m, MonadError e m) => IO (Either e a) -> m a Source #

shuffle :: [a] -> IO [a] Source #

zipWith3' :: (a -> b -> c -> d) -> NonEmpty a -> NonEmpty b -> NonEmpty c -> NonEmpty d Source #

Orphan instances

Exception e => MonadUnliftIO (ExceptT e IO) Source # 
Instance details

Methods

withRunInIO :: ((forall a. ExceptT e IO a -> IO a) -> IO b) -> ExceptT e IO b

Exception e => MonadUnliftIO (ExceptT e (ReaderT r IO)) Source # 
Instance details

Methods

withRunInIO :: ((forall a. ExceptT e (ReaderT r IO) a -> IO a) -> IO b) -> ExceptT e (ReaderT r IO) b