slack-api-0.12: Bindings to the Slack RTM API.
Web.Slack.Types.Id
type UserId = Id TUser Source #
type BotId = Id TBot Source #
type ChannelId = Id TChannel Source #
type FileId = Id TFile Source #
type CommentId = Id TComment Source #
type IMId = Id TIM Source #
type TeamId = Id TTeam Source #
newtype Id a Source #
Constructors
Fields
Instances
Methods
(==) :: Id a -> Id a -> Bool #
(/=) :: Id a -> Id a -> Bool #
compare :: Id a -> Id a -> Ordering #
(<) :: Id a -> Id a -> Bool #
(<=) :: Id a -> Id a -> Bool #
(>) :: Id a -> Id a -> Bool #
(>=) :: Id a -> Id a -> Bool #
max :: Id a -> Id a -> Id a #
min :: Id a -> Id a -> Id a #
showsPrec :: Int -> Id a -> ShowS #
show :: Id a -> String #
showList :: [Id a] -> ShowS #
Associated Types
type Rep (Id a) :: * -> * #
from :: Id a -> Rep (Id a) x #
to :: Rep (Id a) x -> Id a #
toJSON :: Id a -> Value
toEncoding :: Id a -> Encoding
toJSONList :: [Id a] -> Value
toEncodingList :: [Id a] -> Encoding
parseJSON :: Value -> Parser (Id a)
parseJSONList :: Value -> Parser [Id a]
hashWithSalt :: Int -> Id a -> Int
hash :: Id a -> Int
getId :: forall a a. Iso (Id a) (Id a) Text Text Source #