Hoogle Search
Within LTS Haskell 24.2 (ghc-9.10.2)
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.
sharedCAF :: a -> (Ptr a -> IO (Ptr a)) -> IO abase GHC.Conc.Sync No documentation available.
shareFailureHandler :: MatchResult CoreExpr -> MatchResult CoreExprghc GHC.HsToCore.Utils No documentation available.
sharedGlobal :: a -> (Ptr (IORef a) -> IO (Ptr (IORef a))) -> IORef aghc GHC.Utils.GlobalVars No documentation available.
sharedGlobalM :: IO a -> (Ptr (IORef a) -> IO (Ptr (IORef a))) -> IORef aghc GHC.Utils.GlobalVars No documentation available.
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: []