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. setFileMode :: FilePath -> FileMode -> IO ()

    dhall Dhall.DirectoryTree

    A wrapper around setFileMode. On Windows, it does check the resulting file mode of the file/directory and emits a warning if it doesn't match the desired file mode. On all other OS it is identical to setFileMode as it is assumed to work correctly.

  2. setFromDistinctList :: (Ord a, Show a) => Decoder a -> Decoder (Set a)

    dhall Dhall.Marshal.Decode

    Decode a Set from a List with distinct elements.

    >>> input (setFromDistinctList natural) "[1, 2, 3]"
    fromList [1,2,3]
    
    An error is thrown if the list contains duplicates.
    >>> input (setFromDistinctList natural) "[1, 1, 3]"
    *** Exception: Error: Failed extraction
    
    The expression type-checked successfully but the transformation to the target
    type failed with the following error:
    
    One duplicate element in the list: 1
    
    >>> input (setFromDistinctList natural) "[1, 1, 3, 3]"
    *** Exception: Error: Failed extraction
    
    The expression type-checked successfully but the transformation to the target
    type failed with the following error:
    
    2 duplicates were found in the list, including 1
    

  3. setIgnoringDuplicates :: Ord a => Decoder a -> Decoder (Set a)

    dhall Dhall.Marshal.Decode

    Decode a Set from a List.

    >>> input (setIgnoringDuplicates natural) "[1, 2, 3]"
    fromList [1,2,3]
    
    Duplicate elements are ignored.
    >>> input (setIgnoringDuplicates natural) "[1, 1, 3]"
    fromList [1,3]
    

  4. setOffset :: MonadParsec e s m => Int -> m ()

    dhall Dhall.Parser.Expression

    Set the current source offset

  5. setBit :: Bits a => a -> Int -> a

    foundation Foundation.Bits

    x `setBit` i is the same as x .|. bit i

  6. setObjectAccessibleDescription :: (MonadIO m, IsObject o) => o -> Text -> m ()

    gi-atk GI.Atk.Objects.Object

    Set the value of the “accessible-description” property. When overloading is enabled, this is equivalent to

    set object [ #accessibleDescription := value ]
    

  7. setObjectAccessibleHelpText :: (MonadIO m, IsObject o) => o -> Text -> m ()

    gi-atk GI.Atk.Objects.Object

    Set the value of the “accessible-help-text” property. When overloading is enabled, this is equivalent to

    set object [ #accessibleHelpText := value ]
    

  8. setObjectAccessibleId :: (MonadIO m, IsObject o) => o -> Text -> m ()

    gi-atk GI.Atk.Objects.Object

    Set the value of the “accessible-id” property. When overloading is enabled, this is equivalent to

    set object [ #accessibleId := value ]
    

  9. setObjectAccessibleName :: (MonadIO m, IsObject o) => o -> Text -> m ()

    gi-atk GI.Atk.Objects.Object

    Set the value of the “accessible-name” property. When overloading is enabled, this is equivalent to

    set object [ #accessibleName := value ]
    

  10. setObjectAccessibleParent :: (MonadIO m, IsObject o, IsObject a) => o -> a -> m ()

    gi-atk GI.Atk.Objects.Object

    Set the value of the “accessible-parent” property. When overloading is enabled, this is equivalent to

    set object [ #accessibleParent := value ]
    

Page 401 of many | Previous | Next