From fe9bc35b88e5d65fdb14c1a975dc1c65f7879f82 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Fri, 3 Jan 2020 19:36:22 +0100 Subject: [PATCH] Fix (>>>) instead of (&) for Haskell Now! --- src/posts/0010-Haskell-Now/index.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/posts/0010-Haskell-Now/index.org b/src/posts/0010-Haskell-Now/index.org index 3a8ae5c..c454166 100644 --- a/src/posts/0010-Haskell-Now/index.org +++ b/src/posts/0010-Haskell-Now/index.org @@ -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