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.

  1. 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.)

  2. setChecks :: MSpoof -> [SpoofCheck] -> IO ()

    text-icu Data.Text.ICU.Spoof

    Configure the checks performed by a spoof checker.

  3. setRestrictionLevel :: MSpoof -> RestrictionLevel -> IO ()

    text-icu Data.Text.ICU.Spoof

    Configure the restriction level of a spoof checker.

  4. setWindowTitle :: Vty -> String -> IO ()

    vty Graphics.Vty

    Set the terminal window title string.

  5. 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.

  6. setDisplayBounds :: Output -> (Int, Int) -> IO ()

    vty Graphics.Vty.Output

    Sets the current display bounds (width, height).

  7. setMode :: Output -> Mode -> Bool -> IO ()

    vty Graphics.Vty.Output

    Enables or disables a mode (does nothing if the mode is unsupported).

  8. setOutputWindowTitle :: Output -> String -> IO ()

    vty Graphics.Vty.Output

    Set the output's window title, if any.

  9. 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
    

  10. 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)]
    

Page 320 of many | Previous | Next