Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
cookie Web.Cookie Data type representing the key-value pair to use for a cookie, as well as configuration options for it.
Creating a SetCookie
SetCookie does not export a constructor; instead, use defaultSetCookie and override values (see http://www.yesodweb.com/book/settings-types for details):import Web.Cookie :set -XOverloadedStrings let cookie = defaultSetCookie { setCookieName = "cookieName", setCookieValue = "cookieValue" }
Cookie Configuration
Cookies have several configuration options; a brief summary of each option is given below. For more information, see RFC 6265 or Wikipedia. -
cryptonite Crypto.Number.Generate set the highest bit
-
cryptonite Crypto.Number.Generate set the two highest bit
-
optics-core Optics.Internal.Optic.Subtyping No documentation available.
-
Internal implementation details of setters. This module is intended for internal use only, and may change without warning in subsequent releases.
-
A Setter S T A B has the ability to lift a function of type A -> B over a function of type S -> T, applying the function to update all the As contained in S. This can be used to set all the As to a single value (by lifting a constant function). This can be seen as a generalisation of fmap, where the type S does not need to be a type constructor with A as its last parameter.
type
Setter s t a b = Optic A_Setter NoIx s t a boptics-core Optics.Setter Type synonym for a type-modifying setter.
type
Setter' s a = Optic' A_Setter NoIx s aoptics-core Optics.Setter Type synonym for a type-preserving setter.
-
No documentation available.
-
mono-traversable Data.Containers A container whose values are stored in Key-Value pairs.