haskell-gi-0.14: Generate Haskell bindings for GObject Introspection capable libraries

Safe HaskellSafe-Inferred
LanguageHaskell98

Data.GI.CodeGen.Util

Synopsis

Documentation

prime :: Text -> Text Source

parenthesize :: Text -> Text Source

padTo :: Int -> Text -> Text Source

withComment :: Text -> Text -> Text Source

ucFirst :: Text -> Text Source

Capitalize the first character of the given string.

lcFirst :: Text -> Text Source

Make the first character of the given string lowercase.

tshow :: Show a => a -> Text Source

Construct the Text representation of a showable.

terror :: Text -> a Source

Throw an error with the given Text.