Guest User

Untitled

a guest
Nov 12th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. lawCompositionTraversable ::
  2. (Applicative f, Applicative t, Traversable t, Eq (f (t (t c)))) =>
  3. (b -> t c)
  4. -> (a -> f b)
  5. -> t a -> Bool
  6. lawCompositionTraversable f g =
  7. \x -> traverse (fmap f . g) x == (fmap (traverse f) . traverse g) x
Add Comment
Please, Sign In to add comment