hls-alternate-number-format-plugin-2.4.0.0: Provide Alternate Number Formats plugin for Haskell Language Server
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ide.Plugin.Conversion

Synopsis

Documentation

alternateFormat :: Literal -> [AlternateFormat] #

Generate alternate formats for a single Literal based on FormatType's given.

hexRegex :: Text #

Regex to match a Haskell Hex Literal

hexFloatRegex :: Text #

Regex to match a Haskell Hex Float Literal

binaryRegex :: Text #

Regex to match a Haskell Binary Literal

octalRegex :: Text #

Regex to match a Haskell Octal Literal

decimalRegex :: Text #

Regex to match a Haskell Decimal Literal (no decimal points)

numDecimalRegex :: Text #

Regex to match a Haskell Literal with an explicit exponent

matchLineRegex :: Text -> Text #

Wraps a Regex with a beginning ("^") and end ("$") token

toOctal :: (Integral a, Show a) => a -> String #

toDecimal :: Integral a => a -> String #

toBinary :: (Integral a, Show a) => a -> String #

toHex :: (Integral a, Show a) => a -> String #

toFloatDecimal :: RealFloat a => a -> String #

toFloatExpDecimal :: RealFloat a => a -> String #

toHexFloat :: RealFloat a => a -> String #