Hoogle Search
Within LTS Haskell 24.64 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
share :: forall a (f :: Type -> Type) . (Typeable a, Typeable f) => Shareable f a -> Shared f asize-based Control.Enumerable Share/memoize a class member of type f a.
share :: [[a] -> Q [Dec]] -> [a] -> Q [Dec]classy-prelude-yesod ClassyPrelude.Yesod Apply the given list of functions to the same EntityDefs. This function is useful for cases such as:
share [mkEntityDefList "myDefs", mkPersist sqlSettings] [persistLowerCase| -- ... |]
If you only have a single function, though, you don't need this. The following is redundant:share [mkPersist sqlSettings] [persistLowerCase| -- ... |]
Most functions require a full [EntityDef], which can be provided using $(discoverEntities) for all entites in scope, or defining mkEntityDefList to define a list of entities from the given block.module Gogol.Books.Familysharing.
Share Initiates sharing of the content with the user's family. Empty response indicates success. See: Books API Reference for books.familysharing.share.
sharedCAStore :: Shared -> CertificateStoretls Network.TLS A collection of trust anchors to be used by a client as part of validation of server certificates. This is set as first argument to function onServerCertificate. Package crypton-x509-system gives access to a default certificate store configured in the system. Default: mempty
sharedCredentials :: Shared -> Credentialstls Network.TLS The list of certificates and private keys that a server will use as part of authentication to clients. Actual credentials that are used are selected dynamically from this list based on client capabilities. Additional credentials returned by onServerNameIndication are also considered. When credential list is left empty (the default value), no key exchange can take place. Default: mempty
sharedHelloExtensions :: Shared -> [ExtensionRaw]tls Network.TLS Additional extensions to be sent during the Hello sequence. For a client this is always included in message ClientHello. For a server, this is sent in messages ServerHello or EncryptedExtensions based on the TLS version. Default: []
sharedLimit :: Shared -> Limittls Network.TLS Limitation parameters.
sharedSessionManager :: Shared -> SessionManagertls Network.TLS Callbacks used by clients and servers in order to resume TLS sessions. The default implementation never resumes sessions. Package tls-session-manager provides an in-memory implementation. Default: noSessionManager
sharedValidationCache :: Shared -> ValidationCachetls Network.TLS Callbacks that may be used by a client to cache certificate validation results (positive or negative) and avoid expensive signature check. The default implementation does not have any caching. See the default value of ValidationCache.
sharedGlobal :: a -> (Ptr (IORef a) -> IO (Ptr (IORef a))) -> IORef aghc-lib-parser GHC.Utils.GlobalVars No documentation available.