refactor: Database.PostgreSQL.PG -> remove unused type alias Database

This commit is contained in:
Serhii Khoma 2019-12-12 11:08:59 +02:00 committed by GitHub
parent 2003136f6d
commit e74e715266
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,8 +26,6 @@ import Database.PostgreSQL.Value (class FromSQLValue, class ToSQLValue, fromSQLV
import Effect.Aff (Aff)
import Effect.Aff.Class (class MonadAff, liftAff)
type Database = String
hoistAffEither :: forall a m. MonadAff m => MonadError PGError m => Aff (Either PGError a) -> m a
hoistAffEither m = liftAff m >>= either throwError pure