validated-types-0.1.1: Type-level constraints on strings and other input
Data.CharLength
Synopsis
class CharLength a where Source #
tools to detect the length of a type
Minimal complete definition
charOut, charIn
Methods
charLength :: a -> Int Source #
charOut :: a -> Text Source #
charIn :: Text -> a Source #
Instances
charLength :: Int -> Int Source #
charOut :: Int -> Text Source #
charIn :: Text -> Int Source #
charLength :: Text -> Int Source #
charOut :: Text -> Text Source #
charIn :: Text -> Text Source #