Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

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

  1. PersistMarshalError :: Text -> PersistException

    hledger-web Hledger.Web.Import

    No documentation available.

  2. PersistMongoDBError :: Text -> PersistException

    hledger-web Hledger.Web.Import

    No documentation available.

  3. PersistMongoDBUnsupported :: Text -> PersistException

    hledger-web Hledger.Web.Import

    No documentation available.

  4. getPersistMap :: PersistValue -> Either Text [(Text, PersistValue)]

    hledger-web Hledger.Web.Import

    FIXME Add documentation to that.

  5. persistManyFileWith :: PersistSettings -> [FilePath] -> Q Exp

    hledger-web Hledger.Web.Import

    Same as persistFileWith, but uses several external files instead of one. Splitting your Persistent definitions into multiple modules can potentially dramatically speed up compile times. The recommended file extension is .persistentmodels.

    Examples

    Split your Persistent definitions into multiple files (models1, models2), then create a new module for each new file and run mkPersist there:
    -- Model1.hs
    share
    [mkPersist sqlSettings]
    $(persistFileWith lowerCaseSettings "models1")
    
    -- Model2.hs
    share
    [mkPersist sqlSettings]
    $(persistFileWith lowerCaseSettings "models2")
    
    Use persistManyFileWith to create your migrations:
    -- Migrate.hs
    mkMigrate "migrateAll"
    $(persistManyFileWith lowerCaseSettings ["models1.persistentmodels","models2.persistentmodels"])
    
    Tip: To get the same import behavior as if you were declaring all your models in one file, import your new files as Name into another file, then export module Name. This approach may be used in the future to reduce memory usage during compilation, but so far we've only seen mild reductions. See persistent#778 and persistent#791 for more details.

  6. tokenAccessControlRequestMethod :: Token

    http-semantics Network.HTTP.Semantics

    No documentation available.

  7. tokenLastModified :: Token

    http-semantics Network.HTTP.Semantics

    No documentation available.

  8. requestMethod :: Request -> Maybe Method

    http-semantics Network.HTTP.Semantics.Server

    Getting the method from a request.

  9. traverseFirstM :: (Bitraversable t, Applicative f, Monad m) => (k -> m (f k')) -> t k v -> m (f (t k' v))

    hw-kafka-client Kafka.Consumer

    Deprecated: Isn't concern of this library. Use bitraverse id pure <$> bitraverse f pure r

  10. traverseFirstM :: (Bitraversable t, Applicative f, Monad m) => (k -> m (f k')) -> t k v -> m (f (t k' v))

    hw-kafka-client Kafka.Consumer.Types

    Deprecated: Isn't concern of this library. Use bitraverse id pure <$> bitraverse f pure r

Page 189 of many | Previous | Next