EdisonCore-1.2.2.1: A library of efficent, purely-functional data structures (Core Implementations)

PortabilityGHC, Hugs (MPTC and FD)
Stabilityinternal (unstable)
Maintainerrobdockins AT fastmail DOT fm
Safe HaskellNone

Data.Edison.Seq.Defaults

Description

This module provides default implementations of many of the sequence operations. It is used to fill in implementations and is not intended for end users.

Documentation

rconsUsingAppend :: Sequence s => a -> s a -> s aSource

rconsUsingFoldr :: Sequence s => a -> s a -> s aSource

appendUsingFoldr :: Sequence s => s a -> s a -> s aSource

rviewDefault :: (Monad m, Sequence s) => s a -> m (a, s a)Source

rtailUsingLview :: Sequence s => s a -> s aSource

rtailMUsingLview :: (Monad m, Sequence s) => s a -> m (s a)Source

concatUsingFoldr :: Sequence s => s (s a) -> s aSource

reverseOntoUsingFoldl :: Sequence s => s a -> s a -> s aSource

reverseOntoUsingReverse :: Sequence s => s a -> s a -> s aSource

toListUsingFoldr :: Sequence s => s a -> [a]Source

mapUsingFoldr :: Sequence s => (a -> b) -> s a -> s bSource

concatMapUsingFoldr :: Sequence s => (a -> s b) -> s a -> s bSource

foldrUsingLists :: Sequence s => (a -> b -> b) -> b -> s a -> bSource

foldr'UsingLists :: Sequence s => (a -> b -> b) -> b -> s a -> bSource

foldlUsingLists :: Sequence s => (b -> a -> b) -> b -> s a -> bSource

foldl'UsingLists :: Sequence s => (b -> a -> b) -> b -> s a -> bSource

foldr1UsingLists :: Sequence s => (a -> a -> a) -> s a -> aSource

foldr1'UsingLists :: Sequence s => (a -> a -> a) -> s a -> aSource

foldl1UsingLists :: Sequence s => (a -> a -> a) -> s a -> aSource

foldl1'UsingLists :: Sequence s => (a -> a -> a) -> s a -> aSource

fold1UsingFold :: Sequence s => (a -> a -> a) -> s a -> aSource

fold1'UsingFold' :: Sequence s => (a -> a -> a) -> s a -> aSource

foldr1UsingLview :: Sequence s => (a -> a -> a) -> s a -> aSource

foldr1'UsingLview :: Sequence s => (a -> a -> a) -> s a -> aSource

foldl1UsingFoldl :: Sequence s => (a -> a -> a) -> s a -> aSource

foldl1'UsingFoldl' :: Sequence s => (a -> a -> a) -> s a -> aSource

reducerUsingReduce1 :: Sequence s => (a -> a -> a) -> a -> s a -> aSource

reducer'UsingReduce1' :: Sequence s => (a -> a -> a) -> a -> s a -> aSource

reducelUsingReduce1 :: Sequence s => (a -> a -> a) -> a -> s a -> aSource

reducel'UsingReduce1' :: Sequence s => (a -> a -> a) -> a -> s a -> aSource

reduce1UsingLists :: Sequence s => (a -> a -> a) -> s a -> aSource

reduce1'UsingLists :: Sequence s => (a -> a -> a) -> s a -> aSource

copyUsingLists :: Sequence s => Int -> a -> s aSource

lookupUsingDrop :: Sequence s => Int -> s a -> aSource

lookupMUsingDrop :: (Monad m, Sequence s) => Int -> s a -> m aSource

filterUsingLview :: Sequence s => (a -> Bool) -> s a -> s aSource

filterUsingLists :: Sequence s => (a -> Bool) -> s a -> s aSource

filterUsingFoldr :: Sequence s => (a -> Bool) -> s a -> s aSource

partitionUsingLists :: Sequence s => (a -> Bool) -> s a -> (s a, s a)Source

partitionUsingFoldr :: Sequence s => (a -> Bool) -> s a -> (s a, s a)Source

updateUsingAdjust :: Sequence s => Int -> a -> s a -> s aSource

updateUsingSplitAt :: Sequence s => Int -> a -> s a -> s aSource

adjustUsingLists :: Sequence s => (a -> a) -> Int -> s a -> s aSource

adjustUsingSplitAt :: Sequence s => (a -> a) -> Int -> s a -> s aSource

mapWithIndexUsingLists :: Sequence s => (Int -> a -> b) -> s a -> s bSource

foldrWithIndexUsingLists :: Sequence s => (Int -> a -> b -> b) -> b -> s a -> bSource

foldrWithIndex'UsingLists :: Sequence s => (Int -> a -> b -> b) -> b -> s a -> bSource

foldlWithIndexUsingLists :: Sequence s => (b -> Int -> a -> b) -> b -> s a -> bSource

foldlWithIndex'UsingLists :: Sequence s => (b -> Int -> a -> b) -> b -> s a -> bSource

takeUsingLists :: Sequence s => Int -> s a -> s aSource

takeUsingLview :: Sequence s => Int -> s a -> s aSource

dropUsingLists :: Sequence s => Int -> s a -> s aSource

dropUsingLtail :: Sequence s => Int -> s a -> s aSource

splitAtDefault :: Sequence s => Int -> s a -> (s a, s a)Source

splitAtUsingLview :: Sequence s => Int -> s a -> (s a, s a)Source

subseqDefault :: Sequence s => Int -> Int -> s a -> s aSource

takeWhileUsingLview :: Sequence s => (a -> Bool) -> s a -> s aSource

dropWhileUsingLview :: Sequence s => (a -> Bool) -> s a -> s aSource

splitWhileUsingLview :: Sequence s => (a -> Bool) -> s a -> (s a, s a)Source

zipUsingLview :: Sequence s => s a -> s b -> s (a, b)Source

zip3UsingLview :: Sequence s => s a -> s b -> s c -> s (a, b, c)Source

zipWithUsingLview :: Sequence s => (a -> b -> c) -> s a -> s b -> s cSource

zipWith3UsingLview :: Sequence s => (a -> b -> c -> d) -> s a -> s b -> s c -> s dSource

zipUsingLists :: Sequence s => s a -> s b -> s (a, b)Source

zip3UsingLists :: Sequence s => s a -> s b -> s c -> s (a, b, c)Source

zipWithUsingLists :: Sequence s => (a -> b -> c) -> s a -> s b -> s cSource

zipWith3UsingLists :: Sequence s => (a -> b -> c -> d) -> s a -> s b -> s c -> s dSource

unzipUsingLists :: Sequence s => s (a, b) -> (s a, s b)Source

unzipUsingFoldr :: Sequence s => s (a, b) -> (s a, s b)Source

unzip3UsingLists :: Sequence s => s (a, b, c) -> (s a, s b, s c)Source

unzip3UsingFoldr :: Sequence s => s (a, b, c) -> (s a, s b, s c)Source

unzipWithUsingLists :: Sequence s => (a -> b) -> (a -> c) -> s a -> (s b, s c)Source

unzipWithUsingFoldr :: Sequence s => (a -> b) -> (a -> c) -> s a -> (s b, s c)Source

unzipWith3UsingLists :: Sequence s => (a -> b) -> (a -> c) -> (a -> d) -> s a -> (s b, s c, s d)Source

unzipWith3UsingFoldr :: Sequence s => (a -> b) -> (a -> c) -> (a -> d) -> s a -> (s b, s c, s d)Source

defaultCompare :: (Ord a, Sequence s) => s a -> s a -> OrderingSource

dropMatch :: (Eq a, MonadPlus m) => [a] -> [a] -> m [a]Source