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.
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.
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
setIgnoringDuplicates :: Ord a => Decoder a -> Decoder (Set a)dhall Dhall.Marshal.Decode >>> input (setIgnoringDuplicates natural) "[1, 2, 3]" fromList [1,2,3]
Duplicate elements are ignored.>>> input (setIgnoringDuplicates natural) "[1, 1, 3]" fromList [1,3]
setOffset :: MonadParsec e s m => Int -> m ()dhall Dhall.Parser.Expression Set the current source offset
setBit :: Bits a => a -> Int -> afoundation Foundation.Bits x `setBit` i is the same as x .|. bit i
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 ]
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 ]
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 ]
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 ]
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 ]