Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
AERN2.Continuity.Principles
Synopsis
- maxSeqIndexUsed :: (CSequence t -> CKleenean) -> CSequence t -> Integer
- maxIntParamUsed :: ((Integer -> t) -> CKleenean) -> (Integer -> t) -> Integer
Documentation
maxSeqIndexUsed :: (CSequence t -> CKleenean) -> CSequence t -> Integer Source #
Apply a predicate to a CSequence
, assuming it returns True
and return the largest index in the sequence that was accessed during the computation.
Index 0 means that the sequence was not accessed at all,
1 means the first element was accessed, etc.
maxIntParamUsed :: ((Integer -> t) -> CKleenean) -> (Integer -> t) -> Integer Source #
Apply a predicate to a convergent sequence, assuming it returns True and return the largest index in the sequence that was accessed during the computation. Index 0 means that the sequence was not accessed at all, 1 means the sequence was called only with index 0, etc.