Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
sbv Documentation.SBV.Examples.KnuckleDragger.StrongInduction Prove that the sequence 1, 3, 2 S_{k-1} - S_{k-2} generates sequence of odd numbers. We have:
>>> oddSequence2 Lemma: oddSequence_0 Q.E.D. Lemma: oddSequence_1 Q.E.D. Inductive lemma (strong): oddSequence_sNp2 Step: Measure is non-negative Q.E.D. Step: 1 Q.E.D. Step: 2 Q.E.D. Step: 3 (simplify) Q.E.D. Step: 4 Q.E.D. Step: 5 (simplify) Q.E.D. Step: 6 Q.E.D. Result: Q.E.D. Lemma: oddSequence2 Step: 1 (3 way case split) Step: 1.1 Q.E.D. Step: 1.2 Q.E.D. Step: 1.3.1 Q.E.D. Step: 1.3.2 Q.E.D. Step: 1.Completeness Q.E.D. Result: Q.E.D. [Proven] oddSequence2
validSequence :: Int -> Integer -> SList Integer -> SList State -> SBoolsbv Documentation.SBV.Examples.Lists.BoundedMutex A sequence is valid upto a bound if it starts at Idle, and follows the mutex rules. That is:
The variable me identifies the agent id.isSubsequenceOf :: (Monad m, Eq a) => Stream m a -> Stream m a -> m Boolstreamly-core Streamly.Data.Stream Returns True if all the elements of the first stream occur, in order, in the second stream. The elements do not have to occur consecutively. A stream is a subsequence of itself.
>>> Stream.isSubsequenceOf (Stream.fromList "hlo") (Stream.fromList "hello" :: Stream IO Char) True
concatSequence :: forall (m :: Type -> Type) b c t a . Fold m b c -> t (Fold m a b) -> Fold m a cstreamly-core Streamly.Internal.Data.Fold concatSequence f t applies folds from stream t sequentially and collects the results using the fold f. Unimplemented
subsequenceBy :: forall a (m :: Type -> Type) . (a -> a -> Bool) -> Stream m a -> Parser a m ()streamly-core Streamly.Internal.Data.Parser Match if the input stream is a subsequence of the argument stream i.e. all the elements of the input stream occur, in order, in the argument stream. The elements do not have to occur consecutively. A sequence is considered a subsequence of itself.
foldSequence :: forall (m :: Type -> Type) a b . Stream m (Fold m a b) -> Stream m a -> Stream m bstreamly-core Streamly.Internal.Data.Stream Apply a stream of folds to an input stream and emit the results in the output stream. Unimplemented
isSubsequenceOf :: (Monad m, Eq a) => Stream m a -> Stream m a -> m Boolstreamly-core Streamly.Internal.Data.Stream Returns True if all the elements of the first stream occur, in order, in the second stream. The elements do not have to occur consecutively. A stream is a subsequence of itself.
>>> Stream.isSubsequenceOf (Stream.fromList "hlo") (Stream.fromList "hello" :: Stream IO Char) True
-
streamly-core Streamly.Internal.Data.Stream Apply a stream of parsers to an input stream and emit the results in the output stream. Unimplemented
-
synthesizer-midi Synthesizer.MIDI.Dimensional No documentation available.
type
FilterSequence event signal = Filter event T ShortStrictTime signalsynthesizer-midi Synthesizer.MIDI.Generic No documentation available.