Hoogle Search

Within Stackage Nightly 2025-10-12 (ghc-9.12.2)

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

  1. sets :: (Profunctor p, Profunctor q, Settable f) => (p a b -> q s t) -> Optical p q f s t a b

    microformats2-parser Data.Microformats2.Parser.Util

    Build a Setter, IndexedSetter or IndexPreservingSetter depending on your choice of Profunctor.

    sets :: ((a -> b) -> s -> t) -> Setter s t a b
    

  2. setting :: ((a -> b) -> s -> t) -> IndexPreservingSetter s t a b

    microformats2-parser Data.Microformats2.Parser.Util

    Build an index-preserving Setter from a map-like function. Your supplied function f is required to satisfy:

    f idid
    f g . f h ≡ f (g . h)
    
    Equational reasoning:
    setting . overid
    over . settingid
    
    Another way to view sets is that it takes a "semantic editor combinator" and transforms it into a Setter.
    setting :: ((a -> b) -> s -> t) -> Setter s t a b
    

  3. setBackendSpecificForeignKeyName :: (EntityNameDB -> FieldNameDB -> ConstraintNameDB) -> BackendSpecificOverrides -> BackendSpecificOverrides

    persistent-mtl Database.Persist.Sql.Shim

    Set the backend's foreign key generation function to this value.

  4. setEntityDBName :: EntityNameDB -> EntityDef -> EntityDef

    persistent-mtl Database.Persist.Sql.Shim

    No documentation available.

  5. setEntityId :: FieldDef -> EntityDef -> EntityDef

    persistent-mtl Database.Persist.Sql.Shim

    Set an entityId to be the given FieldDef.

  6. setEntityIdDef :: EntityIdDef -> EntityDef -> EntityDef

    persistent-mtl Database.Persist.Sql.Shim

    No documentation available.

  7. setFieldAttrs :: [FieldAttr] -> FieldDef -> FieldDef

    persistent-mtl Database.Persist.Sql.Shim

    Replace the FieldDef FieldAttr with the new list.

  8. setEntityDBName :: EntityNameDB -> EntityDef -> EntityDef

    persistent-redis Database.Persist.Redis

    No documentation available.

  9. setEntityId :: FieldDef -> EntityDef -> EntityDef

    persistent-redis Database.Persist.Redis

    Set an entityId to be the given FieldDef.

  10. setEntityIdDef :: EntityIdDef -> EntityDef -> EntityDef

    persistent-redis Database.Persist.Redis

    No documentation available.

Page 62 of many | Previous | Next