Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
stepNoCB :: Statement -> IO StepResultdirect-sqlite Database.SQLite3 https://www.sqlite.org/c3ref/step.html Faster step for statements that don't callback to Haskell functions (e.g. by using custom SQL functions).
stepNoCB :: Statement -> IO (Either Error StepResult)direct-sqlite Database.SQLite3.Direct https://www.sqlite.org/c3ref/step.html Faster step for statements that don't callback to Haskell functions (e.g. by using custom SQL functions).
stepPos :: Step (f :: k -> Type) (a :: k) -> Naturalfunctor-combinators Control.Applicative.Step No documentation available.
stepVal :: Step (f :: k -> Type) (a :: k) -> f afunctor-combinators Control.Applicative.Step No documentation available.
-
functor-combinators Control.Applicative.Step "Uncons and cons" an f branch before a Steps. This is basically a witness that stepsDown and stepsUp form an isomorphism.
stepsDown :: forall (f :: Type -> Type) x . Steps f x -> These1 f (Steps f) xfunctor-combinators Control.Applicative.Step Pop off the first item in a Steps. Because a Steps f is f These1 f These1 f These1 ... forever, this matches on the first branch. You can think of it as reassociating
f These1 f These1 f These1 f These1 ...
intof These1 ( f These1 f These1 f These1 ...)
It returns:- This1 if the first item is the only item in the Steps
- That1 if the first item in the Steps is empty, but there are more items left. The extra items are all shfited down.
- These1 if the first item in the Steps exists, and there are also more items left. The extra items are all shifted down.
stepsUp :: forall (f :: Type -> Type) x . These1 f (Steps f) x -> Steps f xfunctor-combinators Control.Applicative.Step Unshift an item into a Steps. Because a Steps f is f These1 f These1 f These1 f These1 ... forever, this basically conses an additional possibility of f to the beginning of it all. You can think of it as reassociating
f These1 ( f These1 f These1 f These1 ...)
intof These1 f These1 f These1 f These1 ...
If you give:- This1, then it returns a singleton Steps with one item at index 0
- That1, then it shifts every item in the given Steps up one index.
- These1, then it shifts every item in the given Steps up one index, and adds the given item (the f) at index zero.
stepPos :: Step (f :: k -> Type) (a :: k) -> Naturalfunctor-combinators Data.Functor.Combinator No documentation available.
stepVal :: Step (f :: k -> Type) (a :: k) -> f afunctor-combinators Data.Functor.Combinator No documentation available.
-
machines Data.Machine.Type Transform a Machine by looking at a single step of that machine.