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.

  1. isSuffixOf :: Eq a => [a] -> [a] -> Bool

    ghc-internal GHC.Internal.Data.OldList

    The isSuffixOf function takes two lists and returns True iff the first list is a suffix of the second.

    Examples

    >>> "ld!" `isSuffixOf` "Hello World!"
    True
    
    >>> "World" `isSuffixOf` "Hello World!"
    False
    
    The second list must be finite; however the first list may be infinite:
    >>> [0..] `isSuffixOf` [0..99]
    False
    
    >>> [0..99] `isSuffixOf` [0..]
    * Hangs forever *
    

  2. stripPrefix :: Eq a => [a] -> [a] -> Maybe [a]

    ghc-internal GHC.Internal.Data.OldList

    The stripPrefix function drops the given prefix from a list. It returns Nothing if the list did not start with the prefix given, or Just the list after the prefix, if it does.

    Examples
    >>> stripPrefix "foo" "foobar"
    Just "bar"
    
    >>> stripPrefix "foo" "foo"
    Just ""
    
    >>> stripPrefix "foo" "barfoo"
    Nothing
    
    >>> stripPrefix "foo" "barfoobaz"
    Nothing
    

  3. compactFixupPointers# :: Addr# -> Addr# -> State# RealWorld -> (# State# RealWorld, Compact#, Addr# #)

    ghc-internal GHC.Internal.Exts

    Given the pointer to the first block of a CNF and the address of the root object in the old address space, fix up the internal pointers inside the CNF to account for a different position in memory than when it was serialized. This method must be called exactly once after importing a serialized CNF. It returns the new CNF and the new adjusted root address.

  4. FFFixed :: FFFormat

    ghc-internal GHC.Internal.Float

    No documentation available.

  5. floatRadix :: RealFloat a => a -> Integer

    ghc-internal GHC.Internal.Float

    a constant function, returning the radix of the representation (often 2)

  6. data Fixity

    ghc-internal GHC.Internal.Generics

    Datatype to represent the fixity of a constructor. An infix | declaration directly corresponds to an application of Infix.

  7. data FixityI

    ghc-internal GHC.Internal.Generics

    This variant of Fixity appears at the type level.

  8. Infix :: Associativity -> Int -> Fixity

    ghc-internal GHC.Internal.Generics

    No documentation available.

  9. InfixI :: Associativity -> Nat -> FixityI

    ghc-internal GHC.Internal.Generics

    No documentation available.

  10. Prefix :: Fixity

    ghc-internal GHC.Internal.Generics

    No documentation available.

Page 253 of many | Previous | Next