- data P a
- pfoldr :: Seed -> (a -> b -> b) -> b -> P a -> b
- evalP :: Int -> P a -> [a]
- pfix :: Seed -> P a -> P a
- pcontinue :: P x -> (x -> P x -> P a) -> P a
- pmap :: (a -> b) -> P a -> P b
- punfoldr :: (x -> Maybe (a, x)) -> x -> P a
- preturn :: a -> P a
- pbind :: P x -> (x -> P a) -> P a
- pempty :: P a
- pappend :: P a -> P a -> P a
- ppure :: a -> P a
- papply :: P (a -> b) -> P a -> P b
- prp :: (StdGen -> (P a, StdGen)) -> P a
- pscan :: (x -> y -> (x, a)) -> Maybe (x -> a) -> x -> P y -> P a
- pinf :: P Int
- pzipWith :: (a -> b -> c) -> P a -> P b -> P c
- pcycle :: P a -> P a
- prepeat :: a -> P a
- pfilter :: (a -> Bool) -> P a -> P a
- plist :: [P a] -> P a
- pcons :: a -> P a -> P a
- preplicate_ :: Int -> P a -> P a
- preplicate :: P Int -> P a -> P a
- pn :: P a -> P Int -> P a
- pn_ :: P a -> Int -> P a
- ptake_ :: Int -> P a -> P a
- ptake :: P Int -> P a -> P a
- prestrict_ :: Int -> P a -> P a
- prestrict :: P Int -> P a -> P a
- pmapMaybe :: (a -> Maybe b) -> P a -> P b
- preject :: (a -> Bool) -> P a -> P a
- pzipWith3 :: (a -> b -> c -> d) -> P a -> P b -> P c -> P d
- pzip :: P a -> P b -> P (a, b)
- pseries :: Num a => a -> a -> Int -> P a
- pgeom :: Num a => a -> a -> Int -> P a
- pstutter' :: P Int -> P a -> P a
- pstutter :: P Int -> P a -> P a
- pcountpre :: P Bool -> P Int
- pcountpost :: P Bool -> P Int
- pclutch' :: P a -> P Bool -> P a
- pbool :: (Ord a, Num a) => P a -> P Bool
- pclutch :: (Num b, Ord b) => P a -> P b -> P a
- pcollect :: (a -> b) -> P a -> P b
- pdegreeToKey :: RealFrac a => P a -> P [a] -> P a -> P a
- pfin :: P Int -> P a -> P a
- pfin_ :: Int -> P a -> P a
- wrap :: (Ord a, Num a) => a -> a -> a -> a
- pwrap :: (Ord a, Num a) => P a -> P a -> P a -> P a
- prsd :: Eq a => P a -> P a
- psequence :: P (P a) -> P a
- pduple :: (a, a) -> P a
- pinterleave :: P a -> P a -> P a
- ptrigger :: P Bool -> P a -> P (Maybe a)
- pif :: Int -> P Bool -> P a -> P a -> P a
- pif' :: P Bool -> P a -> P a -> P a
- phead :: P a -> P a
- ptail :: P a -> P a
- pdrop :: P Int -> P a -> P a
- pscanl :: (a -> y -> a) -> a -> P y -> 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
- pseq_ :: [P a] -> Int -> P a
- pseq :: [P a] -> P Int -> P a
- pser_ :: [P a] -> Int -> P a
- pser :: [P a] -> P Int -> P a
- pswitch :: [P a] -> P Int -> P a
- pswitch1m :: IntMap (P a) -> P Int -> P a
- pswitch1 :: [P a] -> P Int -> P a
- ppatlace :: [P a] -> P Int -> P a
- prrandf :: Random a => (a -> a -> a -> a) -> a -> a -> P a
- prrand :: Random a => a -> a -> P a
- prrandexp :: (Floating a, Random a) => a -> a -> P a
- pchoosea :: Array Int (P a) -> P a
- pchoose :: [P a] -> P a
- prand :: [P a] -> P Int -> P a
- pwhite :: Random a => P a -> P a -> P Int -> P a
- pexprand :: (Floating a, Random a) => P a -> P a -> P Int -> P a
- pxrand :: Eq a => [P a] -> P Int -> P a
- pwrand :: [P a] -> [P a] -> P Int -> P a

# Documentation

preplicate_ :: Int -> P a -> P aSource

prestrict_ :: Int -> P a -> P aSource

`n`

initial values at pcycle of `p`

.

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

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