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.
sets :: (Profunctor p, Profunctor q, Settable f) => (p a b -> q s t) -> Optical p q f s t a bmicroformats2-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
setting :: ((a -> b) -> s -> t) -> IndexPreservingSetter s t a bmicroformats2-parser Data.Microformats2.Parser.Util Build an index-preserving Setter from a map-like function. Your supplied function f is required to satisfy:
f id ≡ id f g . f h ≡ f (g . h)
Equational reasoning:setting . over ≡ id over . setting ≡ id
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
-
persistent-mtl Database.Persist.Sql.Shim Set the backend's foreign key generation function to this value.
setEntityDBName :: EntityNameDB -> EntityDef -> EntityDefpersistent-mtl Database.Persist.Sql.Shim No documentation available.
setEntityId :: FieldDef -> EntityDef -> EntityDefpersistent-mtl Database.Persist.Sql.Shim setEntityIdDef :: EntityIdDef -> EntityDef -> EntityDefpersistent-mtl Database.Persist.Sql.Shim No documentation available.
setFieldAttrs :: [FieldAttr] -> FieldDef -> FieldDefpersistent-mtl Database.Persist.Sql.Shim setEntityDBName :: EntityNameDB -> EntityDef -> EntityDefpersistent-redis Database.Persist.Redis No documentation available.
setEntityId :: FieldDef -> EntityDef -> EntityDefpersistent-redis Database.Persist.Redis setEntityIdDef :: EntityIdDef -> EntityDef -> EntityDefpersistent-redis Database.Persist.Redis No documentation available.