yak-0.2.0.0: A strongly typed IRC library
Network.Yak.TH
makeMsgLenses :: Name -> [String] -> DecsQ Source #
Function to build lenses for type synonyms of Msg.
Msg
makeMsgLenses ''Pass ["password"]
The resulting lens will be named according to the synonym and the given field names. Note that no fields can be skipped!