Copyright | (C) 2014 Ricky Elrod |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Ricky Elrod <ricky@elrod.me> |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
This module provides lenses for types in Network.SimpleIRC.Messages.
- nick :: Functor f => (Maybe ByteString -> f (Maybe ByteString)) -> IrcMessage -> f IrcMessage
- user :: Functor f => (Maybe ByteString -> f (Maybe ByteString)) -> IrcMessage -> f IrcMessage
- host :: Functor f => (Maybe ByteString -> f (Maybe ByteString)) -> IrcMessage -> f IrcMessage
- server :: Functor f => (Maybe ByteString -> f (Maybe ByteString)) -> IrcMessage -> f IrcMessage
- code :: Functor f => (ByteString -> f ByteString) -> IrcMessage -> f IrcMessage
- msg :: Functor f => (ByteString -> f ByteString) -> IrcMessage -> f IrcMessage
- chan :: Functor f => (Maybe ByteString -> f (Maybe ByteString)) -> IrcMessage -> f IrcMessage
- origin :: Functor f => (Maybe ByteString -> f (Maybe ByteString)) -> IrcMessage -> f IrcMessage
- other :: Functor f => (Maybe [ByteString] -> f (Maybe [ByteString])) -> IrcMessage -> f IrcMessage
- raw :: Functor f => (ByteString -> f ByteString) -> IrcMessage -> f IrcMessage
IrcMessage
nick :: Functor f => (Maybe ByteString -> f (Maybe ByteString)) -> IrcMessage -> f IrcMessage Source #
user :: Functor f => (Maybe ByteString -> f (Maybe ByteString)) -> IrcMessage -> f IrcMessage Source #
host :: Functor f => (Maybe ByteString -> f (Maybe ByteString)) -> IrcMessage -> f IrcMessage Source #
server :: Functor f => (Maybe ByteString -> f (Maybe ByteString)) -> IrcMessage -> f IrcMessage Source #
code :: Functor f => (ByteString -> f ByteString) -> IrcMessage -> f IrcMessage Source #
msg :: Functor f => (ByteString -> f ByteString) -> IrcMessage -> f IrcMessage Source #
chan :: Functor f => (Maybe ByteString -> f (Maybe ByteString)) -> IrcMessage -> f IrcMessage Source #
origin :: Functor f => (Maybe ByteString -> f (Maybe ByteString)) -> IrcMessage -> f IrcMessage Source #
other :: Functor f => (Maybe [ByteString] -> f (Maybe [ByteString])) -> IrcMessage -> f IrcMessage Source #
raw :: Functor f => (ByteString -> f ByteString) -> IrcMessage -> f IrcMessage Source #