Hoogle Search
Within LTS Haskell 24.58 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
TixModule :: String -> Hash -> Int -> [Integer] -> TixModulehpc Trace.Hpc.Tix No documentation available.
getTixFileName :: FilePath -> FilePathhpc Trace.Hpc.Tix getTixFullName takes a binary or .tix-file name, and normalizes it into a .tix-file name.
getTixFileName "example.hs" == "example.tix" getTixFileName "example.tar.gz" == "example.tar.tix" getTixFileName "example.tix" == "example.tix"
readTix :: FilePath -> IO (Maybe Tix)hpc Trace.Hpc.Tix Read a .tix File.
tixModuleHash :: TixModule -> Hashhpc Trace.Hpc.Tix No documentation available.
tixModuleName :: TixModule -> Stringhpc Trace.Hpc.Tix No documentation available.
tixModuleTixs :: TixModule -> [Integer]hpc Trace.Hpc.Tix No documentation available.
writeTix :: FilePath -> Tix -> IO ()hpc Trace.Hpc.Tix Write a .tix File.
openConnectionUnix :: FilePath -> IO Connectionhttp-streams Network.Http.Client Open a connection to a Unix domain socket.
main :: IO () main = do c <- openConnectionUnix "/var/run/docker.sock" ... closeConnection c
commonPrefixes :: JSString -> JSString -> Maybe (JSString, JSString, JSString)jsaddle Data.JSString O(n) Find the longest non-empty common prefix of two strings and return it, along with the suffixes of each string at which they no longer match. If the strings do not have a common prefix or either one is empty, this function returns Nothing. Examples:
commonPrefixes "foobar" "fooquux" == Just ("foo","bar","quux") commonPrefixes "veeble" "fetzer" == Nothing commonPrefixes "" "baz" == NothingisInfixOf :: JSString -> JSString -> Booljsaddle Data.JSString The isInfixOf function takes two JSStrings and returns True iff the first is contained, wholly and intact, anywhere within the second. Complexity depends on how the JavaScript engine implements String.prototype.find.