Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
sequence :: (ListLike full item, Applicative m, ListLike fullinp (m item)) => fullinp -> m fullListLike Data.ListLike Evaluate each action in the sequence and collect the results
sequence_ :: (Monad m, FoldableLL full (m item)) => full -> m ()ListLike Data.ListLike Evaluate each action, ignoring the results. Same as mapM_ id.
sequence :: (ListLike full item, Applicative m, ListLike fullinp (m item)) => fullinp -> m fullListLike Data.ListLike.Base Evaluate each action in the sequence and collect the results
sequence_ :: (Monad m, FoldableLL full (m item)) => full -> m ()ListLike Data.ListLike.Base Evaluate each action, ignoring the results. Same as mapM_ id.
sequence_ :: (Monad m, FoldableLL full (m item)) => full -> m ()ListLike Data.ListLike.FoldableLL Evaluate each action, ignoring the results. Same as mapM_ id.
sequence_ :: (Monad m, FoldableLL full (m item)) => full -> m ()ListLike Data.ListLike.Utils Evaluate each action, ignoring the results. Same as mapM_ id.
-
Binding to the ALSA Library API (MIDI sequencer). This package provides access to ALSA sequencer (MIDI support). For audio support see alsa-pcm. Included are some simple example programs. For more example programs including a GUI, see the alsa-gui programs.
-
Perhaps place the sequencer handle in an MVar?
-
alsa-seq Sound.ALSA.Sequencer.Event No documentation available.
isSubsequenceOf :: Eq a => [a] -> [a] -> Boolbasic-prelude BasicPrelude The isSubsequenceOf function takes two lists and returns True if all the elements of the first list occur, in order, in the second. The elements do not have to occur consecutively. isSubsequenceOf x y is equivalent to x `elem` (subsequences y). Note: isSubsequenceOf is often used in infix form.
Examples
>>> "GHC" `isSubsequenceOf` "The Glorious Haskell Compiler" True
>>> ['a','d'..'z'] `isSubsequenceOf` ['a'..'z'] True
>>> [1..10] `isSubsequenceOf` [10,9..0] False
For the result to be True, the first list must be finite; for the result to be False, the second list must be finite:>>> [0,2..10] `isSubsequenceOf` [0..] True
>>> [0..] `isSubsequenceOf` [0,2..10] False
>>> [0,2..] `isSubsequenceOf` [0..] * Hangs forever*