Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Zwirn.Core.Cord
Contents
Synopsis
- type Cord = ZwirnT Tree
- liftList :: ([Tree (Value i a, st)] -> [Tree (Value i b, st)]) -> Cord st i a -> Cord st i b
- liftListWithTimeState :: (Time -> st -> [Tree (Value i a, st)] -> [Tree (Value i b, st)]) -> Cord st i a -> Cord st i b
- depth :: Cord st i a -> Cord st i Int
- stack :: [Cord st i a] -> Cord st i a
- project :: Cord st i Int -> Cord st i a -> Cord st i a
- layer :: Cord st i (Cord st i a -> Cord st i b) -> Cord st i a -> Cord st i b
- insert :: Cord st i Int -> Cord st i a -> Cord st i a -> Cord st i a
- remove :: Cord st i Int -> Cord st i a -> Cord st i a
- at :: Cord st i Int -> Cord st i (Cord st i a -> Cord st i a) -> Cord st i a -> Cord st i a
- arp :: Cord st i a -> Cord st i a
- reverseC :: Cord st i a -> Cord st i a
- rotateC :: Cord st i a -> Cord st i a
- invertC :: Num a => Cord st i a -> Cord st i a
- enumFromToStack :: (Ord a, Num a) => Cord st i a -> Cord st i a -> Cord st i a
- enumFromThenToStack :: (Ord a, Num a) => Cord st i a -> Cord st i a -> Cord st i a -> Cord st i a
Documentation
liftList :: ([Tree (Value i a, st)] -> [Tree (Value i b, st)]) -> Cord st i a -> Cord st i b Source #
liftListWithTimeState :: (Time -> st -> [Tree (Value i a, st)] -> [Tree (Value i b, st)]) -> Cord st i a -> Cord st i b Source #
layer :: Cord st i (Cord st i a -> Cord st i b) -> Cord st i a -> Cord st i b Source #
layer functions over an input
insert :: Cord st i Int -> Cord st i a -> Cord st i a -> Cord st i a Source #
insert cord a specific index
at :: Cord st i Int -> Cord st i (Cord st i a -> Cord st i a) -> Cord st i a -> Cord st i a Source #
apply function to specific index
enumFromThenToStack :: (Ord a, Num a) => Cord st i a -> Cord st i a -> Cord st i a -> Cord st i a Source #