Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setAnyMode :: AnyMode -> BufferM ()yi-core Yi.Config.Simple Set the mode
-
yi-core Yi.Config.Simple No documentation available.
-
yi-core Yi.Config.Simple No documentation available.
manyToks :: P (Tok t) (Tree (Tok t))yi-core Yi.Syntax.OnlineTree No documentation available.
-
base-compat-batteries Data.Monoid.Compat No documentation available.
-
base-compat-batteries Data.Semigroup.Compat No documentation available.
class
HasAny (sel :: k) s t a b | s sel -> ageneric-lens Data.Generics.Product.Any No documentation available.
class
AsAny (sel :: k) a s | s sel -> ageneric-lens Data.Generics.Sum.Any Sums that have generic prisms.
observeMany :: Int -> Logic a -> [a]logict Control.Monad.Logic Extracts up to a given number of results from a Logic computation.
>>> let nats = pure 0 <|> fmap (+ 1) nats >>> observeMany 5 nats [0,1,2,3,4]
Since Logic is isomorphic to a list, observeMany is analogous to take.observeManyT :: Monad m => Int -> LogicT m a -> m [a]logict Control.Monad.Logic Extracts up to a given number of results from a LogicT computation.