HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulegraphviz-2999.20.2.1Haskell2010

Data.GraphViz.Internal.Util

This module defines internal utility functions.

Synopsis
valueisNumString :: Bool -> Text -> Bool

Determine if this String represents a number. Boolean parameter determines if exponents are considered part of numbers for this.

valuestringToInt :: Text -> Maybe Int

Determine if this String represents an integer.

valueescapeQuotes :: String -> String

Graphviz requires double quotes to be explicitly escaped.

valuekeywords :: Set Text

The following are Dot keywords and are not valid as labels, etc. unquoted.

valueuniq :: Ord a => [a] -> [a]
#
valueuniqBy :: Ord b => (a -> b) -> [a] -> [a]
#
valuegroupSortBy :: Ord b => (a -> b) -> [a] -> [[a]]
#
valuegroupSortCollectBy :: Ord b => (a -> b) -> (a -> c) -> [a] -> [(b, [c])]
#
valueisSingle :: [a] -> Bool
#