Hoogle Search

Within LTS Haskell 24.52 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. class PlateAll from to

    uniplate Data.Generics.Uniplate.Typeable

    This class should be defined for each data type of interest.

  2. plateAll :: PlateAll from to => from -> Type from to

    uniplate Data.Generics.Uniplate.Typeable

    This method should be defined using plate and |+, |-.

  3. installCustomWidthTable :: Maybe FilePath -> Maybe String -> [(String, FilePath)] -> IO ()

    vty Graphics.Vty

    Attempt to load and install a custom character width table into this process. This looks up the specified terminal name in the specified width table map and, if a map file path is found, the map is loaded and installed. This is exposed for Vty platform package implementors; application developers should never need to call this.

  4. configAllowCustomUnicodeWidthTables :: VtyUserConfig -> Maybe Bool

    vty Graphics.Vty.Config

    Whether to permit custom Unicode width table loading by mkVty. Just False indicates that table loading should not be performed. Other values permit table loading. If a table load is attempted and fails, information about the failure will be logged to the debug log if the configuration specifies one. If no custom table is loaded (or if a load fails), the built-in character width table will be used.

  5. defaultAll :: InlineM ()

    vty Graphics.Vty.Inline

    Reset the display attributes.

  6. module Graphics.Vty.UnicodeWidthTable.Install

    No documentation available.

  7. data TableInstallException

    vty Graphics.Vty.UnicodeWidthTable.Install

    Exception type raised by installUnicodeWidthTable.

  8. installUnicodeWidthTable :: UnicodeWidthTable -> IO ()

    vty Graphics.Vty.UnicodeWidthTable.Install

    Install a custom unicode character width table. Such tables are obtained with buildUnicodeWidthTable and readUnicodeWidthTable. ALERT! This function is probably not what you want to use because it is automatically called by mkVty. You will only ever need to call this function if you want to use functions in Width without controlling the terminal with mkVty. This affects the behavior of the wcwidth function and functions that call it. It does so by changing global state available to the C implementation of wcwidth. To ensure that your program gets consistent results from evaluating calls to wcwidth, the installation of a custom table should be performed before you call wcwidth in your program. This is best done at Vty startup, and if you use mkVty, that function calls this automatically based on the Vty configuration's declared width tables. It is exposed as part of the public API so that applications can call this as needed if they don't want to control the terminal with mkVty but do want to make calls to wcwidth. It's also important to note that once a custom table has been installed, it is permanent for the life of the process. No new table can be installed, and the new custom table cannot be removed. If this function fails for any reason -- if the table cannot be installed or is invalid, or if a custom table already exists -- this will raise a TableInstallException exception. This function is thread-safe.

  9. getAllConfigDirs :: String -> IO [FilePath]

    xdg-basedir System.Environment.XDG.BaseDir

    Get a list of all configuration directories.

  10. getAllConfigFiles :: String -> String -> IO [FilePath]

    xdg-basedir System.Environment.XDG.BaseDir

    Get a list of all paths for a specific configuration file.

Page 475 of many | Previous | Next