- data P a = P {
- unP :: [a]

- pinf :: P Int
- bool :: (Functor f, Ord a, Num a) => f a -> f Bool
- clutch :: [a] -> [Bool] -> [a]
- countpost :: [Bool] -> [Int]
- countpre :: [Bool] -> [Int]
- interleave :: [a] -> [a] -> [a]
- rsd :: Eq a => [a] -> [a]
- stutter :: [Int] -> [a] -> [a]
- trigger :: [Bool] -> [a] -> [Maybe a]
- pappend :: P a -> P a -> P a
- papply :: P (a -> b) -> P a -> P b
- pbool :: (Ord a, Num a) => P a -> P Bool
- pclutch :: P a -> P Bool -> P a
- pcollect :: (a -> b) -> P a -> P b
- pcountpost :: P Bool -> P Int
- pcountpre :: P Bool -> P Int
- pconcat :: P (P a) -> P a
- pconcatMap :: (b -> P a) -> P b -> P a
- pcons :: a -> P a -> P a
- pcycle :: P a -> P a
- pdegreeToKey :: RealFrac a => P a -> P [a] -> P a -> P a
- pdrop :: P Int -> P a -> P a
- pempty :: P a
- pfilter :: (a -> Bool) -> P a -> P a
- pfin :: P Int -> P a -> P a
- pfoldr :: (a -> b -> b) -> b -> P a -> b
- pgeom :: Num a => a -> a -> Int -> P a
- phead :: P a -> Maybe a
- pinterleave :: P a -> P a -> P a
- pn :: P a -> P Int -> P a
- pnull :: P a -> Bool
- prepeat :: a -> P a
- preject :: (a -> Bool) -> P a -> P a
- prsd :: Eq a => P a -> P a
- pseq :: [P a] -> P Int -> P a
- pser :: [P a] -> P Int -> P a
- pseries :: Num a => a -> a -> Int -> P a
- pstutter :: P Int -> P a -> P a
- pswitch :: [P a] -> P Int -> P a
- pswitch1 :: [P a] -> P Int -> P a
- ptail :: P a -> P a
- ptake :: P Int -> P a -> P a
- ptrigger :: P Bool -> P a -> P (Maybe a)
- pzip :: P a -> P b -> P (a, b)
- pzip3 :: P a -> P b -> P c -> P (a, b, c)
- pzipWith :: (a -> b -> c) -> P a -> P b -> P c
- pzipWith3 :: (a -> b -> c -> d) -> P a -> P b -> P c -> P d
- choosea :: StdGen -> Array Int a -> [a]
- pchoose :: String -> P a -> P a
- pnoise :: Random a => String -> P a
- prand :: String -> [P a] -> P Int -> P a
- prand_b :: Random a => StdGen -> P (a, a) -> P a
- pwhite :: Random a => String -> P a -> P a -> P a
- pzipWith_c :: (a -> b -> c) -> P a -> P b -> P c
- (+.) :: Num a => P a -> P a -> P a
- (*.) :: Num a => P a -> P a -> P a
- (/.) :: Fractional a => P a -> P a -> P a
- (-.) :: Num a => P a -> P a -> P a

# Documentation

# Instances

# Basic constructors

# List functions

interleave :: [a] -> [a] -> [a]Source

# Pattern functions

pconcatMap :: (b -> P a) -> P b -> P aSource

pinterleave :: P a -> P a -> P aSource

# Random patterns

# Extension

pzipWith_c :: (a -> b -> c) -> P a -> P b -> P cSource