From 44d0c3fac8f824d081b450798fae4e6f9d622761 Mon Sep 17 00:00:00 2001 From: Peter Saxton Date: Sat, 9 Jun 2018 18:03:36 +0100 Subject: [PATCH] Typo `~>` vs `<~` (#51) --- lib/witchcraft/functor.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/witchcraft/functor.ex b/lib/witchcraft/functor.ex index 41a2474..f0bb514 100644 --- a/lib/witchcraft/functor.ex +++ b/lib/witchcraft/functor.ex @@ -148,7 +148,7 @@ defclass Witchcraft.Functor do defalias data ~> fun, as: :lift @doc ~S""" - `<~/2` with arguments flipped. + `~>/2` with arguments flipped. iex> (fn x -> x + 5 end) <~ [1,2,3] [6, 7, 8]