Commit e4783e24 authored by Alexandre Delanoë's avatar Alexandre Delanoë

fix typo

parent 3c7bce12
...@@ -243,13 +243,13 @@ unMaybe = map fromJust . L.filter isJust ...@@ -243,13 +243,13 @@ unMaybe = map fromJust . L.filter isJust
-- on context of the algorithm itself and we need some clarity since -- on context of the algorithm itself and we need some clarity since
-- both are possible, here is a proposition to get more explicitiness. -- both are possible, here is a proposition to get more explicitiness.
-- | (~>) is called : "Pipe rightLeft" as "from right to left". The most right -- | (<|) is called : "Pipe rightLeft" as "from right to left". The most right
-- function sends its output to the most left function which takes it as -- function sends its output to the most left function which takes it as
-- input. -- input.
(<|) :: (a -> b) -> a -> b (<|) :: (a -> b) -> a -> b
(<|) = ($) (<|) = ($)
-- | (<~) is called : "Pipe leftRight" as "from left to right". The most left -- | (|>) is called : "Pipe leftRight" as "from left to right". The most left
-- function sends its output to the most right function which takes it as -- function sends its output to the most right function which takes it as
-- input. (|>) == (&) = True -- in base prelude -- input. (|>) == (&) = True -- in base prelude
(|>) :: a -> (a -> c) -> c (|>) :: a -> (a -> c) -> c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment