Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

  1. itsOrTheir :: [a] -> SDoc

    ghc-lib-parser GHC.Utils.Outputable

    Determines the form of possessive appropriate for the length of a list:

    itsOrTheir [x]   = text "its"
    itsOrTheir [x,y] = text "their"
    itsOrTheir []    = text "their"  -- probably avoid this
    

  2. thisOrThese :: [a] -> SDoc

    ghc-lib-parser GHC.Utils.Outputable

    Determines the form of subject appropriate for the length of a list:

    thisOrThese [x]   = text "This"
    thisOrThese [x,y] = text "These"
    thisOrThese []    = text "These"  -- probably avoid this
    

  3. data HsTupleSort

    ghc-lib-parser Language.Haskell.Syntax.Type

    Haskell Tuple Sort

  4. constructCursorTexture :: (IsCursor o, MonadIO m, IsTexture a) => a -> m (GValueConstruct o)

    gi-gdk4 GI.Gdk.Objects.Cursor

    Construct a GValueConstruct with valid value for the “texture” property. This is rarely needed directly, but it is used by new.

  5. getCursorTexture :: (MonadIO m, IsCursor o) => o -> m (Maybe Texture)

    gi-gdk4 GI.Gdk.Objects.Cursor

    Get the value of the “texture” property. When overloading is enabled, this is equivalent to

    get cursor #texture
    

  6. cursorToLL :: TermStr s => Capability s

    terminfo System.Console.Terminfo.Cursor

    No documentation available.

  7. censorText :: Text -> Text

    dhall Dhall.Core

    Utility used to censor Text by replacing all characters with a space

  8. isSorted :: Eq k => Map k v -> Bool

    dhall Dhall.Map

    Check if the keys of a Map are already sorted

    isSorted (sort m) = True
    
    >>> isSorted (fromList [("B",1),("A",2)])  -- Sortedness is based only on keys
    False
    
    >>> isSorted (fromList [("A",2),("B",1)])
    True
    

  9. _Sort :: Parser ()

    dhall Dhall.Parser.Token

    Parse the Sort built-in This corresponds to the Sort rule from the official grammar

  10. isSorted :: Ord a => Set a -> Bool

    dhall Dhall.Set

    >>> isSorted (fromList [2, 1])
    False
    
    >>> isSorted (fromList [1, 2])
    True
    

Page 124 of many | Previous | Next