Fix (>>>) instead of (&) for Haskell Now!

This commit is contained in:
Yann Esposito (Yogsototh) 2020-01-03 19:36:22 +01:00
parent bd111cf45c
commit fe9bc35b88
Signed by untrusted user who does not match committer: yogsototh
GPG Key ID: 7B19A4C650D59646
1 changed files with 2 additions and 2 deletions

View File

@ -3203,14 +3203,14 @@ g <=< f = f >=> g
#+end_src
Those operation constructed with the bind operator ~(>>=)~ are a
generalisation of ~(.)~ and ~(&)~ where ~f & g = g . f~.
generalisation of ~(.)~ and ~(>>>)~ where ~f >>> g = g . f~.
If you can look at the type this become visible, simply compare:
#+begin_src haskell
f :: a -> b
g :: b -> c
g . f :: a -> c
f & g :: a -> c
f >>> g :: a -> c
#+end_src
with