Copyright | This file is part of the package vimeta. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at: https://github.com/pjones/vimeta 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
- type FormatTable = Map Char (Maybe Text)
- fromFormatString :: FormatTable -> String -> Text -> Either String Text
- formatYear :: Maybe Day -> Maybe Text
- formatFullDate :: Maybe Day -> Maybe Text
Documentation
type FormatTable = Map Char (Maybe Text) Source #
Mapping of format characters to their possible replacement text.