Hoogle Search

Within LTS Haskell 24.68 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. setRoutePattern :: ByteString -> Handler b v ()

    snap Snap.Snaplet

    Sets the route pattern that matched for the handler. Use this when to override the default pattern which is the key to the alist passed to addRoutes.

  2. setPassword :: AuthUser -> ByteString -> IO AuthUser

    snap Snap.Snaplet.Auth

    Set a new password for the given user. Given password should be clear-text; it will be encrypted into a Encrypted.

  3. setPasswordResetToken :: Text -> Handler b (AuthManager b) (Maybe Text)

    snap Snap.Snaplet.Auth

    This function generates a random password reset token and stores it in the database for the user. Call this function when a user forgets their password. Then use the token to autogenerate a link that the user can visit to reset their password. This function also sets a timestamp so the reset token can be expired.

  4. setInterpreted :: Snaplet (Heist b) -> Initializer b v ()

    snap Snap.Snaplet.Heist

    Sets the snaplet to default to interpreted mode. Initially, the initializer sets the value to compiled mode. This function allows you to override that setting. Note that this is just a default. It only has an effect if you use one of the generic functions: gRender, gRenderAs, gHeistServe, or gHeistServeSingle. If you call the non-generic versions directly, then this value will not be checked and you will get the mode implemented by the function you called.

  5. setInterpreted :: Snaplet (Heist b) -> Initializer b v ()

    snap Snap.Snaplet.HeistNoClass

    Sets the snaplet to default to interpreted mode. Initially, the initializer sets the value to compiled mode. This function allows you to override that setting. Note that this is just a default. It only has an effect if you use one of the generic functions: gRender, gRenderAs, gHeistServe, or gHeistServeSingle. If you call the non-generic versions directly, then this value will not be checked and you will get the mode implemented by the function you called.

  6. setInSession :: Text -> Text -> Handler b SessionManager ()

    snap Snap.Snaplet.Session

    Set a key-value pair in the current session

  7. setSecureCookie :: (MonadSnap m, Serialize t) => ByteString -> Maybe ByteString -> Key -> Maybe Int -> t -> m ()

    snap Snap.Snaplet.Session

    Inject the payload.

  8. setupGopherSocket :: GopherConfig -> IO (Socket Inet6 Stream TCP)

    spacecookie Network.Gopher

    Auxiliary function that sets up the listening socket for runGopherManual correctly and starts to listen. May throw a SocketException if an error occurs while setting up the socket.

  9. set_default_initial_step :: Opt -> Vector Double -> IO Result

    srtree Numeric.Optimization.NLOPT.Bindings

    No documentation available.

  10. set_force_stop :: Opt -> Word -> IO Result

    srtree Numeric.Optimization.NLOPT.Bindings

    No documentation available.

Page 842 of many | Previous | Next