Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setAllowedLocales :: MSpoof -> [String] -> IO ()text-icu Data.Text.ICU.Spoof Get the list of locale names allowed to be used with a spoof checker. (We don't use LocaleName since the root and default locales have no meaning here.)
setChecks :: MSpoof -> [SpoofCheck] -> IO ()text-icu Data.Text.ICU.Spoof Configure the checks performed by a spoof checker.
setRestrictionLevel :: MSpoof -> RestrictionLevel -> IO ()text-icu Data.Text.ICU.Spoof Configure the restriction level of a spoof checker.
setWindowTitle :: Vty -> String -> IO ()vty Graphics.Vty Set the terminal window title string.
setCursorPos :: Output -> Int -> Int -> IO ()vty Graphics.Vty.Output Sets the cursor position to the given output column and row. This is not necessarily the same as the character position with the same coordinates. Characters can be a variable number of columns in width. Currently, the only way to set the cursor position to a given character coordinate is to specify the coordinate in the Picture instance provided to outputPicture or refresh.
setDisplayBounds :: Output -> (Int, Int) -> IO ()vty Graphics.Vty.Output Sets the current display bounds (width, height).
setMode :: Output -> Mode -> Bool -> IO ()vty Graphics.Vty.Output Enables or disables a mode (does nothing if the mode is unsupported).
setOutputWindowTitle :: Output -> String -> IO ()vty Graphics.Vty.Output Set the output's window title, if any.
setMethod :: Method -> RequestBuilder site ()yesod-test Yesod.Test Sets the HTTP method used by the request.
Examples
request $ do setMethod "POST"
import Network.HTTP.Types.Method request $ do setMethod methodPut
setRequestBody :: ByteString -> RequestBuilder site ()yesod-test Yesod.Test Simple way to set HTTP request body
Examples
request $ do setRequestBody "foobar"
import Data.Aeson request $ do setRequestBody $ encode $ object ["age" .= (1 :: Integer)]