Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setOwnerReadable :: Bool -> Permissions -> Permissionsdirectory System.Directory.OsPath No documentation available.
setOwnerSearchable :: Bool -> Permissions -> Permissionsdirectory System.Directory.OsPath No documentation available.
setOwnerWritable :: Bool -> Permissions -> Permissionsdirectory System.Directory.OsPath No documentation available.
setPermissions :: OsPath -> Permissions -> IO ()directory System.Directory.OsPath Set the permissions of a file or directory. On Windows, this is only capable of changing the writable permission, which corresponds to the "read-only" attribute. Changing the other permissions has no effect. On POSIX systems, this sets the owner permissions. The operation may fail with:
- isPermissionError if the user is not permitted to set the permissions, or
- isDoesNotExistError if the file or directory does not exist.
setStdGen :: MonadIO m => StdGen -> m ()random System.Random Sets the global pseudo-random number generator. Overwrites the contents of globalStdGen
setByteArray :: (Prim a, PrimMonad m) => MutableByteArray (PrimState m) -> Int -> Int -> a -> m ()primitive Data.Primitive.ByteArray Fill a slice of a mutable byte array with a value. The offset and length are given in elements of type a rather than in bytes. Note: this function does not do bounds checking.
setPrimArray :: (Prim a, PrimMonad m) => MutablePrimArray (PrimState m) a -> Int -> Int -> a -> m ()primitive Data.Primitive.PrimArray Fill a slice of a mutable primitive array with a value. Note: this function does not do bounds checking.
setPtr :: (Prim a, PrimMonad m) => Ptr a -> Int -> a -> m ()primitive Data.Primitive.Ptr Fill a memory block with the given value. The length is in elements of type a rather than in bytes.
setByteArray# :: Prim a => MutableByteArray# s -> Int# -> Int# -> a -> State# s -> State# sprimitive Data.Primitive.Types Fill a slice of the mutable array with a value. The offset and length of the chunk are in elements of type a rather than in bytes.
setOffAddr# :: Prim a => Addr# -> Int# -> Int# -> a -> State# s -> State# sprimitive Data.Primitive.Types Fill a memory block given by an address, an offset and a length. The offset and length are in elements of type a rather than in bytes.