hamsql-0.8.0.0: HamSql

Safe HaskellNone
LanguageHaskell2010

Database.HamSql.Internal.Utils

Synopsis

Documentation

module Data.Maybe

join :: [a] -> [[a]] -> [a] Source #

err :: Text -> a Source #

warn :: Text -> a -> a Source #

warn' :: Text -> IO () Source #

msg :: Text -> Text -> a -> a Source #

msg' :: Text -> Text -> IO () Source #

info :: OptCommon -> Text -> a -> a Source #

debug :: OptCommon -> Text -> a -> a Source #

removeDuplicates :: Ord a => [a] -> [a] Source #

maybeMap :: (a -> b) -> Maybe [a] -> [b] Source #

maybeJoin :: Maybe [a] -> Maybe [a] -> Maybe [a] Source #

Joins two Maybe lists

maybeRight :: Maybe a -> Maybe a -> Maybe a Source #

Takes the right value, if Just there

tshow :: Show a => a -> Text Source #

tr :: Show a => a -> a Source #

data Text :: * #

A space efficient, packed, unboxed Unicode text type.

(<>) :: Monoid m => m -> m -> m infixr 6 #

An infix synonym for mappend.

Since: 4.5.0.0