File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed
Expand file tree Collapse file tree 2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 6666
6767### Types
6868
69- newtype StateL s a where
70- StateL :: (s -> Tuple s a) -> StateL s a
71-
72- newtype StateR s a where
73- StateR :: (s -> Tuple s a) -> StateR s a
74-
7569
7670### Type Classes
7771
113107
114108 mapAccumR :: forall a b s f. (Traversable f) => (s -> a -> Tuple s b) -> s -> f a -> Tuple s (f b)
115109
116- stateL :: forall s a. StateL s a -> s -> Tuple s a
117-
118- stateR :: forall s a. StateR s a -> s -> Tuple s a
119-
120110 zipWithA :: forall m a b c. (Applicative m) => (a -> b -> m c) -> [a] -> [b] -> m [c]
Original file line number Diff line number Diff line change 1- module Data.Traversable where
1+ module Data.Traversable
2+ ( Traversable
3+ , traverse
4+ , sequence
5+ , for
6+ , zipWithA
7+ , mapAccumL
8+ , mapAccumR
9+ ) where
210
311import Prelude
412import Data.Array (zipWith )
You can’t perform that action at this time.
0 commit comments