-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Parse and display tibetan numerals
--   
--   This package provides a <a>megaparsec</a> parser for Tibetan numerals,
--   as well as efficient means to display numbers using Tibetan numerals.
@package tibetan-utils
@version 0.1.1.5

module Text.Megaparsec.Char.Tibetan
type Parser = Parsec Void String

-- | Parse a consonant
consonantCharBo :: Parser Char

-- | Parse a digit as a char.
digitCharBo :: Parser Char


-- | Parser to parse Tibetan numerals
module Text.Megaparsec.Lexer.Tibetan

-- | Parse Tibetan numerals, returning a positive integer
parseNumber :: (Integral a, MonadParsec e s m, Token s ~ Char) => m a

-- | Read a string in, returning integral value or error
--   
--   <pre>
--   λ &gt; readBo "༣༢༠༥"
--   Just 3205
--   </pre>
readBo :: (Integral a) => String -> Maybe a


-- | Module to display positive integral values as strings
module TextShow.Data.Integral.Tibetan

-- | show a positive intgeger as text, return <a>Nothing</a> if that
--   doesn't work
builderBo :: (Integral a) => a -> Maybe Builder

-- | Display positive integer as a <a>String</a>
--   
--   <pre>
--   λ &gt; showBo 312
--   Just "༣༡༢"
--   </pre>
showBo :: Integer -> Maybe String
