Copyright | This file is part of the package addy. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at: https://code.devalot.com/open/addy No part of this package including this file may be copied modified propagated or distributed except according to the terms contained in the LICENSE file. |
---|---|
License | BSD-2-Clause |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data Mode
- render :: Mode -> EmailAddr -> Builder
- renderToText :: Mode -> EmailAddr -> Text
- renderAddrSpec :: Mode -> EmailAddr -> Builder
- renderDisplayName :: DisplayName -> Builder
- renderComments :: Mode -> CommentLoc -> [Comment] -> Builder
Documentation
Render mode.
Since: 0.1.0.0
renderAddrSpec :: Mode -> EmailAddr -> Builder Source #
Render an email address in addr-spec
format.
Since: 0.1.0.0
renderDisplayName :: DisplayName -> Builder Source #
Render a display name.
Since: 0.1.0.0
renderComments :: Mode -> CommentLoc -> [Comment] -> Builder Source #
Render comments that have the given CommentLoc
. The comment
location is also used to decide where to introduce white space.
Since: 0.1.0.0