Hoogle Search
Within LTS Haskell 24.69 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
reset :: Connection -> Statement -> IO ()persistent-sqlite Database.Sqlite No documentation available.
type
ASetter s t a b = a -> Identity b -> s -> Identity trio RIO ASetter s t a b is something that turns a function modifying a value into a function modifying a structure. If you ignore Identity (as Identity a is the same thing as a), the type is:
type ASetter s t a b = (a -> b) -> s -> t
The reason Identity is used here is for ASetter to be composable with other types, such as Lens. Technically, if you're writing a library, you shouldn't use this type for setters you are exporting from your library; the right type to use is Setter, but it is not provided by this package (because then it'd have to depend on distributive). It's completely alright, however, to export functions which take an ASetter as an argument.type
ASetter' s a = ASetter s s a ario RIO This is a type alias for monomorphic setters which don't change the type of the container (or of the value inside). It's useful more often than the same type in lens, because we can't provide real setters and so it does the job of both ASetter' and Setter'.
-
Set with hashed members. Import as:
import qualified RIO.HashSet as HS
-
rio RIO.HashSet A set of values. A set cannot contain duplicate values.
fromSet :: (k -> a) -> Set k -> Map k ario RIO.Map Build a map from a set of keys and a function which for each key computes its value.
fromSet (\k -> replicate k 'a') (Data.Set.fromList [3, 5]) == fromList [(5,"aaaaa"), (3,"aaa")] fromSet undefined Data.Set.empty == empty
-
rio RIO.Map The set of all keys of the map.
keysSet (fromList [(5,"a"), (3,"b")]) == Data.Set.fromList [3,5] keysSet empty == Data.Set.empty
-
rio RIO.Prelude.Types A set of values. A set cannot contain duplicate values.
-
rio RIO.Prelude.Types A set of integers.
resetExeCache :: (MonadIO m, MonadReader env m, HasProcessContext env) => m ()rio RIO.Process Reset the executable cache.