Hoogle Search
Within Stackage Nightly 2025-10-09 (ghc-9.12.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
postgresql-libpq Database.PostgreSQL.LibPQ Resets the communication channel to the server. This function will close the connection to the server and attempt to reestablish a new connection to the same server, using all the same parameters previously used. This might be useful for error recovery if a working connection is lost.
resetPoll :: Connection -> IO PollingStatuspostgresql-libpq Database.PostgreSQL.LibPQ To initiate a connection reset, call resetStart. If it returns False, the reset has failed. If it returns True, poll the reset using resetPoll in exactly the same way as you would create the connection using connectPoll.
resetStart :: Connection -> IO Boolpostgresql-libpq Database.PostgreSQL.LibPQ Reset the communication channel to the server, in a nonblocking manner.
-
vinyl Data.Vinyl.Lens If one field set is a subset another, then a lens of from the latter's record to the former's is evident. That is, we can either cast a larger record to a smaller one, or we may replace the values in a slice of a record.
-
vinyl Data.Vinyl.Lens This is a lens into a slice of the larger record. Morally, we have:
rsubset :: Lens' (Rec f ss) (Rec f rs)
class
FieldOffset Aux f ts t RIndex t ts => FieldOffset (f :: k -> Type) (ts :: [k]) (t :: k)vinyl Data.Vinyl.SRec A more concise constraint equivalent to FieldOffsetAux.
-
vinyl Data.Vinyl.SRec The ability to work with a particular field of a Rec stored at a Ptr.
fieldOffset :: FieldOffsetAux f ts t i => Int -> StorableAt f tvinyl Data.Vinyl.SRec Get the byte offset of a field from the given origin and the Storable dictionary needed to work with that field.
-
vinyl Data.Vinyl.SRec Get a subset of a record's fields.
-
vinyl Data.Vinyl.SRec Set a subset of a record's fields.